- the savegame manager needs a destructor

This commit is contained in:
Christoph Oelckers 2017-02-18 14:18:27 +01:00
parent 872969eb14
commit e58a03de9b
2 changed files with 5 additions and 1 deletions

View File

@ -66,6 +66,10 @@ void FSavegameManager::ClearSaveGames()
SaveGames.Clear();
}
FSavegameManager::~FSavegameManager()
{
ClearSaveGames();
}
//=============================================================================
//
// Save data maintenance

View File

@ -80,7 +80,7 @@ private:
public:
int WindowSize = 0;
FSaveGameNode *quickSaveSlot = nullptr;
~FSavegameManager();
private:
int InsertSaveNode(FSaveGameNode *node);