mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 15:17:29 +00:00
Refactor JSON::JSON_string::write
This commit is contained in:
parent
4c914aee96
commit
dce43d4f7f
@ -141,7 +141,7 @@ JSON::JSON_string::JSON_string(std::string const& utf8) :
|
||||
void
|
||||
JSON::JSON_string::write(Pipeline* p, size_t) const
|
||||
{
|
||||
*p << "\"" << encoded << "\"";
|
||||
*p << std::string("\"") + encoded + "\"";
|
||||
}
|
||||
|
||||
JSON::JSON_number::JSON_number(long long value) :
|
||||
|
Loading…
Reference in New Issue
Block a user