diff options
Diffstat (limited to '')
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 <boost/format.hpp> #include <ctime> +#include <string> 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<std::string>(level); + tools::success_msg_writer() << "Log level is now " << std::to_string(level); return true; } |