aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.h
diff options
context:
space:
mode:
authorSergey Kazenyuk <sergey@kazenyuk.com>2015-04-20 20:17:11 +0300
committerSergey Kazenyuk <sergey@kazenyuk.com>2015-04-20 20:17:11 +0300
commit2ff0d757eb0ce000f222e03cd217e2cc7b47d5f7 (patch)
tree31d978b9173e7ad8df78a5bae3f23c64333f45e8 /src/p2p/net_node.h
parentSuppress 'register storage class is deprecated' warning in boost dependency l... (diff)
downloadmonero-2ff0d757eb0ce000f222e03cd217e2cc7b47d5f7.tar.xz
Fix missing virtual destructor
Diffstat (limited to 'src/p2p/net_node.h')
-rw-r--r--src/p2p/net_node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h
index 53a13f327..220bda0c2 100644
--- a/src/p2p/net_node.h
+++ b/src/p2p/net_node.h
@@ -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);