mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 23:58:52 +00:00
Fix missing virtual destructor
This commit is contained in:
parent
eb565a1ce2
commit
2ff0d757eb
@ -89,6 +89,8 @@ namespace nodetool
|
||||
, m_hide_my_port(false)
|
||||
, m_network_id(std::move(network_id))
|
||||
{}
|
||||
virtual ~node_server()
|
||||
{}
|
||||
|
||||
static void init_options(boost::program_options::options_description& desc);
|
||||
|
||||
|
@ -82,7 +82,6 @@ namespace nodetool
|
||||
const command_line::arg_descriptor<std::vector<std::string> > arg_p2p_seed_node = {"seed-node", "Connect to a node to retrieve peer addresses, and disconnect"};
|
||||
const command_line::arg_descriptor<bool> arg_p2p_hide_my_port = {"hide-my-port", "Do not announce yourself as peerlist candidate", false, true};
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------------
|
||||
template<class t_payload_net_handler>
|
||||
void node_server<t_payload_net_handler>::init_options(boost::program_options::options_description& desc)
|
||||
@ -96,7 +95,8 @@ namespace nodetool
|
||||
command_line::add_arg(desc, arg_p2p_add_priority_node);
|
||||
command_line::add_arg(desc, arg_p2p_add_exclusive_node);
|
||||
command_line::add_arg(desc, arg_p2p_seed_node);
|
||||
command_line::add_arg(desc, arg_p2p_hide_my_port); }
|
||||
command_line::add_arg(desc, arg_p2p_hide_my_port);
|
||||
}
|
||||
//-----------------------------------------------------------------------------------
|
||||
template<class t_payload_net_handler>
|
||||
bool node_server<t_payload_net_handler>::init_config()
|
||||
|
Loading…
Reference in New Issue
Block a user