diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-05-13 11:20:58 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-05-13 11:21:00 +0200 |
commit | ec5eca699d742f1a1358950fb71399b489395f1c (patch) | |
tree | da5ff990921157461bc7569c6501b687c244cb2f /src/p2p/net_node.h | |
parent | Merge pull request #277 (diff) | |
parent | Merge branch 'clang_fixes' into clang_fixes-master (diff) | |
download | monero-ec5eca699d742f1a1358950fb71399b489395f1c.tar.xz |
Merge pull request #280
2ff0d75 Fix missing virtual destructor (Sergey Kazenyuk)
eb565a1 Suppress 'register storage class is deprecated' warning in boost dependency library (Sergey Kazenyuk)
Diffstat (limited to 'src/p2p/net_node.h')
-rw-r--r-- | src/p2p/net_node.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index f86a4f97b..df726703f 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -82,15 +82,16 @@ namespace nodetool node_server(t_payload_net_handler& payload_handler) :m_payload_handler(payload_handler), + m_current_number_of_out_peers(0), m_allow_local_ip(false), - m_no_igd(false), m_hide_my_port(false), + m_no_igd(false), + m_save_graph(false), + is_closing(false), m_net_server( epee::net_utils::e_connection_type_P2P ) // this is a P2P connection of the main p2p node server, because this is class node_server<> - { - m_current_number_of_out_peers = 0; - m_save_graph = false; - is_closing = false; - } + {} + virtual ~node_server() + {} static void init_options(boost::program_options::options_description& desc); |