diff --git a/src/Battling/Models/Battle.hpp b/src/Battling/Models/Battle.hpp index cb74f10..d7546e2 100644 --- a/src/Battling/Models/Battle.hpp +++ b/src/Battling/Models/Battle.hpp @@ -39,7 +39,7 @@ namespace CreatureLib::Battling { } } - ~Battle() { + virtual ~Battle() { for (auto s : _sides) { delete s; }