aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/JSON.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/JSON.cc')
-rw-r--r--libqpdf/JSON.cc2
1 files changed, 1 insertions, 1 deletions
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