Commit 4c914aee96c419cf4a3b15014125c537c056d0df

Authored by m-holger
Committed by Jay Berkenbilt
1 parent 3dde66dd

Refactor JSON::writeDictionaryKey

Showing 1 changed file with 1 additions and 1 deletions
libqpdf/JSON.cc
@@ -87,7 +87,7 @@ JSON::writeDictionaryKey( @@ -87,7 +87,7 @@ JSON::writeDictionaryKey(
87 Pipeline* p, bool& first, std::string const& key, size_t depth) 87 Pipeline* p, bool& first, std::string const& key, size_t depth)
88 { 88 {
89 writeNext(p, first, depth); 89 writeNext(p, first, depth);
90 - *p << "\"" << key << "\": "; 90 + *p << std::string("\"") + key + "\": ";
91 } 91 }
92 92
93 void 93 void