Skip to content

Commit

Permalink
Parsing tools: fixed issue with min on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Jan 27, 2024
1 parent 87100fb commit de19e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Common/interface/ParsingTools.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ inline std::string RefinePreprocessorDirective(const char* Str, size_t Len = 0)
return RefinePreprocessorDirective(Str, Str + Len);
}

static constexpr int InvalidArrayIndex = std::numeric_limits<int>::min();
static constexpr int InvalidArrayIndex = (std::numeric_limits<int>::min)();

/// Returns the array index if the given variable name is an indexed array element.
///
Expand Down

0 comments on commit de19e09

Please sign in to comment.