From 4c914aee96c419cf4a3b15014125c537c056d0df Mon Sep 17 00:00:00 2001 From: m-holger Date: Sat, 28 Jan 2023 12:54:49 +0000 Subject: Refactor JSON::writeDictionaryKey --- libqpdf/JSON.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libqpdf/JSON.cc') 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 -- cgit v1.2.3-54-g00ecf