epee: give virtual dtor to network_address_base
It has virtual functions and is used as a base class
This commit is contained in:
parent
1a73843cec
commit
2e82b232e8
|
@ -71,6 +71,9 @@ namespace net_utils
|
||||||
}
|
}
|
||||||
uint64_t m_host_id;
|
uint64_t m_host_id;
|
||||||
uint64_t m_full_id;
|
uint64_t m_full_id;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
virtual ~network_address_base() {}
|
||||||
};
|
};
|
||||||
struct ipv4_network_address: public network_address_base
|
struct ipv4_network_address: public network_address_base
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue