From 8c4e17dbec3f443ec9a8dd04729f9503c1f758ad Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 Jun 2026 21:10:58 +0200 Subject: upgrade to std::format --- client/client.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/client.hpp') diff --git a/client/client.hpp b/client/client.hpp index 4c6894e..acf3e8c 100644 --- a/client/client.hpp +++ b/client/client.hpp @@ -9,6 +9,7 @@ #include "settings.hpp" #include "transport.hpp" +#include #include #include #include @@ -26,7 +27,7 @@ public: void run() { m_input_reader->for_each_input([this](const std::string& input) { m_transport->send_query(input, [](const std::string& reply) { - std::cout << reply << '\n'; + std::cout << std::format("{}\n", reply); }); return true; }); -- cgit v1.3