Add virtual destructor to Battle.

This commit is contained in:
2020-02-17 15:52:02 +01:00
parent da90c3d59e
commit 445f7eb3d5

View File

@@ -39,7 +39,7 @@ namespace CreatureLib::Battling {
}
}
~Battle() {
virtual ~Battle() {
for (auto s : _sides) {
delete s;
}