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 /libtests/arg_parser.cc | |
parent | da67a0aa043c2c8ad129fbc87b93afcdab7042a7 (diff) | |
download | qpdf-2e6869483bba657515aad305a3aa7013e477c448.tar.zst |
Replace calls to QUtil::int_to_string with std::to_string
Diffstat (limited to 'libtests/arg_parser.cc')
-rw-r--r-- | libtests/arg_parser.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libtests/arg_parser.cc b/libtests/arg_parser.cc index 1480a717..9e3e8da5 100644 --- a/libtests/arg_parser.cc +++ b/libtests/arg_parser.cc @@ -141,7 +141,7 @@ ArgParser::getQuack(std::string const& p) ++this->quacks; if (this->ap.isCompleting() && (this->ap.argsLeft() == 0)) { this->ap.insertCompletion( - std::string("thing-") + QUtil::int_to_string(this->quacks)); + std::string("thing-") + std::to_string(this->quacks)); return; } output(std::string("got quack: ") + p); @@ -150,13 +150,13 @@ ArgParser::getQuack(std::string const& p) void ArgParser::endQuack() { - output("total quacks so far: " + QUtil::int_to_string(this->quacks)); + output("total quacks so far: " + std::to_string(this->quacks)); } void ArgParser::finalChecks() { - output("total quacks: " + QUtil::int_to_string(this->quacks)); + output("total quacks: " + std::to_string(this->quacks)); } void |