diff --git a/libqpdf/JSON.cc b/libqpdf/JSON.cc index fd76e628..0dc44d7f 100644 --- a/libqpdf/JSON.cc +++ b/libqpdf/JSON.cc @@ -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