diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-18 12:30:48 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-18 12:30:48 +0100 |
commit | 2e82b232e87d6eb65f8fc0aa7c50d70a2913bbe3 (patch) | |
tree | a321cba78090176f27a241d313643e9eaa809e4a /contrib/epee/include | |
parent | Merge pull request #2446 (diff) | |
download | monero-2e82b232e87d6eb65f8fc0aa7c50d70a2913bbe3.tar.xz |
epee: give virtual dtor to network_address_base
It has virtual functions and is used as a base class
Diffstat (limited to 'contrib/epee/include')
-rw-r--r-- | contrib/epee/include/net/net_utils_base.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/epee/include/net/net_utils_base.h b/contrib/epee/include/net/net_utils_base.h index ef3a1d146..df83517ff 100644 --- a/contrib/epee/include/net/net_utils_base.h +++ b/contrib/epee/include/net/net_utils_base.h @@ -71,6 +71,9 @@ namespace net_utils } uint64_t m_host_id; uint64_t m_full_id; + + protected: + virtual ~network_address_base() {} }; struct ipv4_network_address: public network_address_base { |