mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue