aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/client/client.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/client.hpp')
-rw-r--r--client/client.hpp3
1 files changed, 2 insertions, 1 deletions
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 <format>
#include <iostream>
#include <string>
#include <utility>
@@ -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;
});