💚 forgot two semicolons

This commit is contained in:
Niels Lohmann 2019-03-18 17:23:34 +01:00
parent 8d3f4f21bc
commit 37a72dac48
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
2 changed files with 4 additions and 4 deletions

View file

@ -304,7 +304,7 @@ class json_sax_dom_parser
return &(ref_stack.back()->m_value.array->back());
}
assert(ref_stack.back()->is_object())
assert(ref_stack.back()->is_object());
assert(object_element);
*object_element = BasicJsonType(std::forward<Value>(v));
return object_element;
@ -590,7 +590,7 @@ class json_sax_dom_callback_parser
}
// object
assert(ref_stack.back()->is_object())
assert(ref_stack.back()->is_object());
// check if we should store an element for the current key
assert(not key_keep_stack.empty());
const bool store_element = key_keep_stack.back();

View file

@ -2982,7 +2982,7 @@ class json_sax_dom_parser
return &(ref_stack.back()->m_value.array->back());
}
assert(ref_stack.back()->is_object())
assert(ref_stack.back()->is_object());
assert(object_element);
*object_element = BasicJsonType(std::forward<Value>(v));
return object_element;
@ -3268,7 +3268,7 @@ class json_sax_dom_callback_parser
}
// object
assert(ref_stack.back()->is_object())
assert(ref_stack.back()->is_object());
// check if we should store an element for the current key
assert(not key_keep_stack.empty());
const bool store_element = key_keep_stack.back();