mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 02:08:53 +00:00
Give up on brace initializers in initializer lists (MSVC bug)
This commit is contained in:
parent
ffe7bf8c1c
commit
59ab569da1
@ -55,7 +55,7 @@ public:
|
|||||||
, bool testnet
|
, bool testnet
|
||||||
)
|
)
|
||||||
: m_srv(srv)
|
: m_srv(srv)
|
||||||
, m_testnet {testnet}
|
, m_testnet(testnet)
|
||||||
{
|
{
|
||||||
m_cmd_binder.set_handler("help", boost::bind(&daemon_cmmands_handler::help, this, _1), "Show this help");
|
m_cmd_binder.set_handler("help", boost::bind(&daemon_cmmands_handler::help, this, _1), "Show this help");
|
||||||
m_cmd_binder.set_handler("print_pl", boost::bind(&daemon_cmmands_handler::print_pl, this, _1), "Print peer list");
|
m_cmd_binder.set_handler("print_pl", boost::bind(&daemon_cmmands_handler::print_pl, this, _1), "Print peer list");
|
||||||
|
@ -79,7 +79,7 @@ namespace cryptonote
|
|||||||
)
|
)
|
||||||
: m_core(cr)
|
: m_core(cr)
|
||||||
, m_p2p(p2p)
|
, m_p2p(p2p)
|
||||||
, m_testnet {testnet}
|
, m_testnet(testnet)
|
||||||
{}
|
{}
|
||||||
//------------------------------------------------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------------------------------------------------
|
||||||
bool core_rpc_server::handle_command_line(
|
bool core_rpc_server::handle_command_line(
|
||||||
|
@ -383,11 +383,11 @@ namespace tools
|
|||||||
, uint64_t unlock_time
|
, uint64_t unlock_time
|
||||||
, bool testnet
|
, bool testnet
|
||||||
)
|
)
|
||||||
: transfer_error {std::move(loc), "transaction was not constructed"}
|
: transfer_error(std::move(loc), "transaction was not constructed")
|
||||||
, m_sources {sources}
|
, m_sources(sources)
|
||||||
, m_destinations {destinations}
|
, m_destinations(destinations)
|
||||||
, m_unlock_time {unlock_time}
|
, m_unlock_time(unlock_time)
|
||||||
, m_testnet {testnet}
|
, m_testnet(testnet)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -471,10 +471,10 @@ namespace tools
|
|||||||
, uint64_t fee
|
, uint64_t fee
|
||||||
, bool testnet
|
, bool testnet
|
||||||
)
|
)
|
||||||
: transfer_error {std::move(loc), "transaction sum + fee exceeds " + cryptonote::print_money(std::numeric_limits<uint64_t>::max())}
|
: transfer_error(std::move(loc), "transaction sum + fee exceeds " + cryptonote::print_money(std::numeric_limits<uint64_t>::max()))
|
||||||
, m_destinations {destinations}
|
, m_destinations(destinations)
|
||||||
, m_fee {fee}
|
, m_fee(fee)
|
||||||
, m_testnet {testnet}
|
, m_testnet(testnet)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user