mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- the savegame manager needs a destructor
This commit is contained in:
parent
872969eb14
commit
e58a03de9b
2 changed files with 5 additions and 1 deletions
|
@ -66,6 +66,10 @@ void FSavegameManager::ClearSaveGames()
|
|||
SaveGames.Clear();
|
||||
}
|
||||
|
||||
FSavegameManager::~FSavegameManager()
|
||||
{
|
||||
ClearSaveGames();
|
||||
}
|
||||
//=============================================================================
|
||||
//
|
||||
// Save data maintenance
|
||||
|
|
|
@ -80,7 +80,7 @@ private:
|
|||
public:
|
||||
int WindowSize = 0;
|
||||
FSaveGameNode *quickSaveSlot = nullptr;
|
||||
|
||||
~FSavegameManager();
|
||||
|
||||
private:
|
||||
int InsertSaveNode(FSaveGameNode *node);
|
||||
|
|
Loading…
Reference in a new issue