Packet destructor should be virtual

Fixes warning seen when compiling with -Wall.
This commit is contained in:
Antony Cherepanov 2016-11-08 16:59:17 +03:00 committed by Henrik Grimler
parent 95e5c1cdcb
commit 1385b183d2
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ namespace Heimdall
memset(data, 0, size);
}
~Packet()
virtual ~Packet()
{
delete [] data;
}