Packet destructor should be virtual
Fixes warning seen when compiling with -Wall.
This commit is contained in:
parent
95e5c1cdcb
commit
1385b183d2
|
@ -45,7 +45,7 @@ namespace Heimdall
|
|||
memset(data, 0, size);
|
||||
}
|
||||
|
||||
~Packet()
|
||||
virtual ~Packet()
|
||||
{
|
||||
delete [] data;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue