mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 11:04:00 +01:00
fix gcc warning: deleting object of polymorphic class type 'i2p::stream::StreamingDestination' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
This commit is contained in:
parent
61001ef047
commit
ad8559d911
|
@ -128,6 +128,7 @@ namespace data
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
virtual ~LocalDestination() {};
|
||||||
virtual const IdentHash& GetIdentHash () const = 0;
|
virtual const IdentHash& GetIdentHash () const = 0;
|
||||||
virtual const uint8_t * GetEncryptionPrivateKey () const = 0;
|
virtual const uint8_t * GetEncryptionPrivateKey () const = 0;
|
||||||
virtual const uint8_t * GetEncryptionPublicKey () const = 0;
|
virtual const uint8_t * GetEncryptionPublicKey () const = 0;
|
||||||
|
|
Loading…
Reference in a new issue