mirror of
https://github.com/nlohmann/json.git
synced 2024-07-07 12:23:49 +02:00
parent
b59a58406e
commit
c61a9071ae
|
@ -442,7 +442,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)
|
||||
|
|
Loading…
Reference in a new issue