Make DataLibrary destructor virtual.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d266700822
commit
db2eb0c3fa
|
@ -26,7 +26,7 @@ namespace CreatureLib::Library {
|
|||
CreatureLib::Library::AttackLibrary* attacks, CreatureLib::Library::ItemLibrary* items,
|
||||
CreatureLib::Library::GrowthRateLibrary* growthRates, TypeLibrary* typeLibrary);
|
||||
|
||||
~DataLibrary() {
|
||||
virtual ~DataLibrary() {
|
||||
delete _species;
|
||||
delete _attacks;
|
||||
delete _items;
|
||||
|
|
Loading…
Reference in New Issue