🚨 fixed another linter warning

This commit is contained in:
Niels Lohmann 2019-01-13 13:00:54 +01:00
parent ad01736d55
commit 8e9ad346d9
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
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)
{
if (not JSON_UNLIKELY(sax->start_object(len)))
if (JSON_UNLIKELY(not sax->start_object(len)))
{
return false;
}

View file

@ -7273,7 +7273,7 @@ class binary_reader
*/
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;
}