From 32c19c6c3d677564d217ba31c16fdfc84b4faf80 Mon Sep 17 00:00:00 2001 From: rfree2monero Date: Fri, 10 Apr 2015 16:13:57 +0200 Subject: [fix] log level change. compilation: dns, tests old unbound #warning does not block compilation unit tests build fine. Even though the RPC/P2P network type is required again --- src/daemon/rpc_command_executor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/daemon/rpc_command_executor.cpp') diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index a7c9d2365..5d73c7e8c 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -35,6 +35,7 @@ #include "cryptonote_core/cryptonote_core.h" #include #include +#include namespace daemonize { @@ -374,7 +375,7 @@ bool t_rpc_command_executor::set_log_level(int8_t level) { } } - tools::success_msg_writer() << "Log level is now " << boost::lexical_cast(level); + tools::success_msg_writer() << "Log level is now " << std::to_string(level); return true; } -- cgit v1.2.3