Util: Optimize Value member away

This commit is contained in:
Riyyi
2022-07-18 12:18:56 +02:00
parent 99759b82b7
commit 93eb2f4f6a
3 changed files with 8 additions and 11 deletions
+2 -2
View File
@@ -159,8 +159,8 @@ Value Value::parse(const std::string& input)
std::string Value::dump(const uint32_t indent, const char indentCharacter) const
{
Serializer serializer(*this, indent, indentCharacter);
return serializer.dump();
Serializer serializer(indent, indentCharacter);
return serializer.dump(*this);
}
void Value::emplace_back(Value value)