diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-10-02 23:14:03 +0400 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-10-02 23:14:03 +0400 |
commit | e93e0c2be35551d2f845ef7cbbb86656389a7371 (patch) | |
tree | 7ba8bb7c5677688e87045e93170f07c3dba55539 | |
parent | Merge pull request #2561 (diff) | |
parent | epee: give virtual dtor to network_address_base (diff) | |
download | monero-e93e0c2be35551d2f845ef7cbbb86656389a7371.tar.xz |
Merge pull request #2467
2e82b232 epee: give virtual dtor to network_address_base (moneromooo-monero)
-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 { |