epee: give virtual dtor to network_address_base

It has virtual functions and is used as a base class
This commit is contained in:
moneromooo-monero 2017-09-18 12:30:48 +01:00
parent 1a73843cec
commit 2e82b232e8
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 3 additions and 0 deletions

View File

@ -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
{