mirror of
https://github.com/monero-project/monero.git
synced 2025-12-22 23:26:44 -08:00
[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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user