diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-09-21 18:49:21 +0200 |
---|---|---|
committer | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2022-09-21 21:57:14 +0200 |
commit | 2e6869483bba657515aad305a3aa7013e477c448 (patch) | |
tree | 0487066d6069127082a5f176baf031e6ec6308b0 /libqpdf/JSONHandler.cc | |
parent | da67a0aa043c2c8ad129fbc87b93afcdab7042a7 (diff) | |
download | qpdf-2e6869483bba657515aad305a3aa7013e477c448.tar.zst |
Replace calls to QUtil::int_to_string with std::to_string
Diffstat (limited to 'libqpdf/JSONHandler.cc')
-rw-r--r-- | libqpdf/JSONHandler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/JSONHandler.cc b/libqpdf/JSONHandler.cc index 909aa7db..a7503401 100644 --- a/libqpdf/JSONHandler.cc +++ b/libqpdf/JSONHandler.cc @@ -132,7 +132,7 @@ JSONHandler::handle(std::string const& path, JSON j) size_t i = 0; j.forEachArrayItem([&i, &path, this](JSON v) { this->m->h.array_item_handler->handle( - path + "[" + QUtil::uint_to_string(i) + "]", v); + path + "[" + std::to_string(i) + "]", v); ++i; }); this->m->h.array_end_handler(path); |