From 2e6869483bba657515aad305a3aa7013e477c448 Mon Sep 17 00:00:00 2001 From: m-holger Date: Wed, 21 Sep 2022 17:49:21 +0100 Subject: Replace calls to QUtil::int_to_string with std::to_string --- libqpdf/QPDFCrypto_gnutls.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libqpdf/QPDFCrypto_gnutls.cc') diff --git a/libqpdf/QPDFCrypto_gnutls.cc b/libqpdf/QPDFCrypto_gnutls.cc index dabf912d..d9d14bee 100644 --- a/libqpdf/QPDFCrypto_gnutls.cc +++ b/libqpdf/QPDFCrypto_gnutls.cc @@ -135,7 +135,7 @@ QPDFCrypto_gnutls::SHA2_init(int bits) if (code < 0) { this->hash_ctx = nullptr; throw std::runtime_error( - std::string("gnutls: SHA") + QUtil::int_to_string(bits) + + std::string("gnutls: SHA") + std::to_string(bits) + " error: " + std::string(gnutls_strerror(code))); } } -- cgit v1.2.3-54-g00ecf