Skip to content

Commit

Permalink
🚨 fixed a compilation issue with ICPC #755
Browse files Browse the repository at this point in the history
Closes #1222
  • Loading branch information
nlohmann committed Sep 29, 2018
1 parent 680a4ab commit 4e54c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion single_include/nlohmann/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4e54c9a

Please sign in to comment.