1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-29 23:01:16 +03:00

🚨 fixed another linter warning

This commit is contained in:
Niels Lohmann
2019-01-13 13:00:54 +01:00
parent ad01736d55
commit 8e9ad346d9
2 changed files with 2 additions and 2 deletions

View File

@ -820,7 +820,7 @@ class binary_reader
*/ */
bool get_cbor_object(const std::size_t len) bool get_cbor_object(const std::size_t len)
{ {
if (not JSON_UNLIKELY(sax->start_object(len))) if (JSON_UNLIKELY(not sax->start_object(len)))
{ {
return false; return false;
} }

View File

@ -7273,7 +7273,7 @@ class binary_reader
*/ */
bool get_cbor_object(const std::size_t len) bool get_cbor_object(const std::size_t len)
{ {
if (not JSON_UNLIKELY(sax->start_object(len))) if (JSON_UNLIKELY(not sax->start_object(len)))
{ {
return false; return false;
} }