From 865a94db38ef67d9f4fdab2abe485994df482792 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 10 Dec 2020 17:10:59 +0100 Subject: [PATCH] RemoteLogger: Fix astring-plus-int issue --- pdns/remote_logger.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/remote_logger.cc b/pdns/remote_logger.cc index a6074271c0..0816105238 100644 --- a/pdns/remote_logger.cc +++ b/pdns/remote_logger.cc @@ -135,7 +135,7 @@ bool RemoteLogger::reconnect() void RemoteLogger::queueData(const std::string& data) { if (data.size() > std::numeric_limits::max()) { - throw std::runtime_error("Got a request to write an object of size " + data.size()); + throw std::runtime_error("Got a request to write an object of size " + std::to_string(data.size())); } std::lock_guard lock(d_mutex); -- 2.47.2