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/FileInputSource.cc | |
parent | da67a0aa043c2c8ad129fbc87b93afcdab7042a7 (diff) | |
download | qpdf-2e6869483bba657515aad305a3aa7013e477c448.tar.zst |
Replace calls to QUtil::int_to_string with std::to_string
Diffstat (limited to 'libqpdf/FileInputSource.cc')
-rw-r--r-- | libqpdf/FileInputSource.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libqpdf/FileInputSource.cc b/libqpdf/FileInputSource.cc index 2b1ee1ab..7c4d6d42 100644 --- a/libqpdf/FileInputSource.cc +++ b/libqpdf/FileInputSource.cc @@ -105,8 +105,7 @@ FileInputSource::seek(qpdf_offset_t offset, int whence) if (QUtil::seek(this->file, offset, whence) == -1) { QUtil::throw_system_error( std::string("seek to ") + this->filename + ", offset " + - QUtil::int_to_string(offset) + " (" + QUtil::int_to_string(whence) + - ")"); + std::to_string(offset) + " (" + std::to_string(whence) + ")"); } } @@ -128,8 +127,7 @@ FileInputSource::read(char* buffer, size_t length) this->filename, "", this->last_offset, - (std::string("read ") + QUtil::uint_to_string(length) + - " bytes")); + (std::string("read ") + std::to_string(length) + " bytes")); } else if (length > 0) { this->seek(0, SEEK_END); this->last_offset = this->tell(); |