Skip to content

Commit

Permalink
Fix wpiutil compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekma committed Aug 25, 2020
1 parent ee6a814 commit 9cf7918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wpiutil/src/main/native/cpp/json_serializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class json::serializer
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;

while (x != 0)
Expand Down

0 comments on commit 9cf7918

Please sign in to comment.