Skip to content

Commit de19e09

Browse files
Parsing tools: fixed issue with min on Windows
1 parent 87100fb commit de19e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/interface/ParsingTools.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ inline std::string RefinePreprocessorDirective(const char* Str, size_t Len = 0)
11561156
return RefinePreprocessorDirective(Str, Str + Len);
11571157
}
11581158

1159-
static constexpr int InvalidArrayIndex = std::numeric_limits<int>::min();
1159+
static constexpr int InvalidArrayIndex = (std::numeric_limits<int>::min)();
11601160

11611161
/// Returns the array index if the given variable name is an indexed array element.
11621162
///

0 commit comments

Comments
 (0)