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/Pl_LZWDecoder.cc | |
parent | da67a0aa043c2c8ad129fbc87b93afcdab7042a7 (diff) | |
download | qpdf-2e6869483bba657515aad305a3aa7013e477c448.tar.zst |
Replace calls to QUtil::int_to_string with std::to_string
Diffstat (limited to 'libqpdf/Pl_LZWDecoder.cc')
-rw-r--r-- | libqpdf/Pl_LZWDecoder.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libqpdf/Pl_LZWDecoder.cc b/libqpdf/Pl_LZWDecoder.cc index 7d02f291..000fb64b 100644 --- a/libqpdf/Pl_LZWDecoder.cc +++ b/libqpdf/Pl_LZWDecoder.cc @@ -98,7 +98,7 @@ Pl_LZWDecoder::getFirstChar(unsigned int code) } else { throw std::runtime_error( "Pl_LZWDecoder::getFirstChar called with invalid code (" + - QUtil::int_to_string(code) + ")"); + std::to_string(code) + ")"); } return result; } @@ -126,7 +126,7 @@ Pl_LZWDecoder::addToTable(unsigned char next) } else { throw std::runtime_error( "Pl_LZWDecoder::addToTable called with invalid code (" + - QUtil::int_to_string(this->last_code) + ")"); + std::to_string(this->last_code) + ")"); } Buffer entry(1 + last_size); |