🔨 using emplace

parent 96dd4ffa
...@@ -2967,7 +2967,7 @@ class parser ...@@ -2967,7 +2967,7 @@ class parser
if (keep and keep_tag and not value.is_discarded()) if (keep and keep_tag and not value.is_discarded())
{ {
result.m_value.object->operator[](std::move(key)) = std::move(value); result.m_value.object->emplace(std::move(key), std::move(value));
} }
// comma -> next value // comma -> next value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment