1
0
Fork 0

Fixed the most stupid thing ever found on windows yet. std::max forbidden trololololol

This commit is contained in:
Michael Hackstein 2016-01-18 12:26:32 +01:00
parent 87667edc6a
commit aace581915
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ int VelocyPackHelper::compare(VPackSlice const& lhs, VPackSlice const& rhs,
case VPackValueType::Array: {
VPackValueLength const nl = lhs.length();
VPackValueLength const nr = rhs.length();
VPackValueLength const n = std::max(nr, nl);
VPackValueLength const n = (std::max)(nr, nl);
for (VPackValueLength i = 0; i < n; ++i) {
VPackSlice lhsValue;
if (i < nl) {