🚨 fixed warnings

This commit is contained in:
Niels Lohmann 2019-03-17 12:01:49 +01:00
parent d6c4cd3b6d
commit b8451c236f
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
19 changed files with 4721 additions and 4622 deletions

View file

@ -14,8 +14,8 @@
#include <type_traits> // is_same
#include <utility> // move
#include <nlohmann/detail/exceptions.hpp>
#include <nlohmann/detail/conversions/to_chars.hpp>
#include <nlohmann/detail/exceptions.hpp>
#include <nlohmann/detail/macro_scope.hpp>
#include <nlohmann/detail/meta/cpp_future.hpp>
#include <nlohmann/detail/output/binary_writer.hpp>
@ -278,6 +278,11 @@ class serializer
o->write_characters("null", 4);
return;
}
default:
{
assert(false); // LCOV_EXCL_LINE
}
}
}
@ -474,6 +479,11 @@ class serializer
state = UTF8_ACCEPT;
break;
}
default:
{
assert(false); // LCOV_EXCL_LINE
}
}
break;
}
@ -534,6 +544,11 @@ class serializer
}
break;
}
default:
{
assert(false); // LCOV_EXCL_LINE
}
}
}
}