core: remove '-' from separators list of disabled CPU flags

To allow runtime disabling of AVX512-SKX via 'OPENCV_CPU_DISABLE' parameter
pull/10893/head
Alexander Alekhin 7 years ago
parent aa7a964139
commit cc5a6f3b86
  1. 2
      modules/core/src/system.cpp

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

Loading…
Cancel
Save