1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-29 23:01:16 +03:00

🚨 fixed a compilation issue with ICPC #755

Closes #1222
This commit is contained in:
Niels Lohmann
2018-09-29 11:48:49 +02:00
parent 680a4ab672
commit 4e54c9a13d

View File

@ -10135,7 +10135,7 @@ class serializer
return;
}
const bool is_negative = (x <= 0) and (x != 0); // see issue #755
const bool is_negative = not (x >= 0); // see issue #755
std::size_t i = 0;
while (x != 0)