core: remove '-' from separators list of disabled CPU flags
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Sun, 18 Feb 2018 00:03:04 +0000 (00:03 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Sun, 18 Feb 2018 00:03:04 +0000 (00:03 +0000)
To allow runtime disabling of AVX512-SKX via 'OPENCV_CPU_DISABLE' parameter

modules/core/src/system.cpp

index bd0225c..36a3ecc 100644 (file)
@@ -514,7 +514,7 @@ struct HWFeatures
 
     static inline bool isSymbolSeparator(char c)
     {
-        return c == ',' || c == ';' || c == '-';
+        return c == ',' || c == ';';
     }
 
     void readSettings(const int* baseline_features, int baseline_count)