diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-01-28 13:54:49 +0100 |
---|---|---|
committer | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2023-01-28 20:49:32 +0100 |
commit | 4c914aee96c419cf4a3b15014125c537c056d0df (patch) | |
tree | 8531a5ed2b5d4212b94ddfdc104cc74255145e4d /libqpdf | |
parent | 3dde66ddcd6ad38a90bf46c4017c87f9a8656c0e (diff) | |
download | qpdf-4c914aee96c419cf4a3b15014125c537c056d0df.tar.zst |
Refactor JSON::writeDictionaryKey
Diffstat (limited to 'libqpdf')
-rw-r--r-- | libqpdf/JSON.cc | 2 |
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 |