From 6a0d3b06f2933472109e43ba4b887012b0822c56 Mon Sep 17 00:00:00 2001 From: Pavel Vlasov Date: Thu, 1 Oct 2015 17:48:49 +0300 Subject: [PATCH] IPPInitSingelton initialization guards; --- modules/core/src/system.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()