1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-25 13:41:56 +03:00

finished the last of the warnings

This commit is contained in:
onqtam
2019-03-27 01:09:47 +02:00
parent 5d511a6e96
commit a0000c3235
6 changed files with 18 additions and 0 deletions

View File

@ -269,7 +269,9 @@ TEST_CASE("README" * doctest::skip())
int i = 42;
json jn = i;
double f = jn;
DOCTEST_GCC_SUPPRESS_WARNING_WITH_PUSH("-Wfloat-equal")
CHECK(f == 42);
DOCTEST_GCC_SUPPRESS_WARNING_POP
// etc.