Merge pull request #1 from zakalibit/zakalibit-compiler-warning-patch

Fix compiler warning.
This commit is contained in:
zakalibit 2018-09-01 11:15:21 +01:00 committed by GitHub
commit 53420cbe01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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