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:
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user