aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/bits_functions.hh
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-09-21 18:49:21 +0200
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-09-21 21:57:14 +0200
commit2e6869483bba657515aad305a3aa7013e477c448 (patch)
tree0487066d6069127082a5f176baf031e6ec6308b0 /libqpdf/qpdf/bits_functions.hh
parentda67a0aa043c2c8ad129fbc87b93afcdab7042a7 (diff)
downloadqpdf-2e6869483bba657515aad305a3aa7013e477c448.tar.zst
Replace calls to QUtil::int_to_string with std::to_string
Diffstat (limited to 'libqpdf/qpdf/bits_functions.hh')
-rw-r--r--libqpdf/qpdf/bits_functions.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/libqpdf/qpdf/bits_functions.hh b/libqpdf/qpdf/bits_functions.hh
index f6e385f6..632136f4 100644
--- a/libqpdf/qpdf/bits_functions.hh
+++ b/libqpdf/qpdf/bits_functions.hh
@@ -33,8 +33,8 @@ read_bits(
if (bits_wanted > bits_available) {
throw std::runtime_error(
"overflow reading bit stream: wanted = " +
- QUtil::uint_to_string(bits_wanted) +
- "; available = " + QUtil::uint_to_string(bits_available));
+ std::to_string(bits_wanted) +
+ "; available = " + std::to_string(bits_available));
}
if (bits_wanted > 32) {
throw std::out_of_range("read_bits: too many bits requested");