diff --git a/modules/core/src/system.cpp b/modules/core/src/system.cpp index 623280b327..81d555d81e 100644 --- a/modules/core/src/system.cpp +++ b/modules/core/src/system.cpp @@ -1344,8 +1344,7 @@ public: static IPPInitSingelton& getIPPSingelton() { - static IPPInitSingelton sing; - return sing; + CV_SINGLETON_LAZY_INIT_REF(IPPInitSingelton, new IPPInitSingelton()) } int getIppFeatures()