aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2023-01-28 13:54:49 +0100
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2023-01-28 20:49:32 +0100
commit4c914aee96c419cf4a3b15014125c537c056d0df (patch)
tree8531a5ed2b5d4212b94ddfdc104cc74255145e4d
parent3dde66ddcd6ad38a90bf46c4017c87f9a8656c0e (diff)
downloadqpdf-4c914aee96c419cf4a3b15014125c537c056d0df.tar.zst
Refactor JSON::writeDictionaryKey
-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