🔨 using emplace
This commit is contained in:
parent
96dd4ffa19
commit
85c768084b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue