2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-06 20:30:54 +00:00

Refactor JSON::writeDictionaryKey

This commit is contained in:
m-holger 2023-01-28 12:54:49 +00:00 committed by Jay Berkenbilt
parent 3dde66ddcd
commit 4c914aee96

View File

@ -87,7 +87,7 @@ JSON::writeDictionaryKey(
Pipeline* p, bool& first, std::string const& key, size_t depth)
{
writeNext(p, first, depth);
*p << "\"" << key << "\": ";
*p << std::string("\"") + key + "\": ";
}
void