1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-21 04:22:05 +03:00

💚 forgot two semicolons

This commit is contained in:
Niels Lohmann
2019-03-18 17:23:34 +01:00
parent 8d3f4f21bc
commit 37a72dac48
2 changed files with 4 additions and 4 deletions

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();