From cc5a6f3b86da75709025c89e9b1e651c8661919a Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Sun, 18 Feb 2018 00:03:04 +0000 Subject: [PATCH] core: remove '-' from separators list of disabled CPU flags To allow runtime disabling of AVX512-SKX via 'OPENCV_CPU_DISABLE' parameter --- modules/core/src/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/system.cpp b/modules/core/src/system.cpp index bd0225c818..36a3ecc724 100644 --- a/modules/core/src/system.cpp +++ b/modules/core/src/system.cpp @@ -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)