mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 08:30:50 +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();
|
SaveGames.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FSavegameManager::~FSavegameManager()
|
||||||
|
{
|
||||||
|
ClearSaveGames();
|
||||||
|
}
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
//
|
//
|
||||||
// Save data maintenance
|
// Save data maintenance
|
||||||
|
|
|
@ -80,7 +80,7 @@ private:
|
||||||
public:
|
public:
|
||||||
int WindowSize = 0;
|
int WindowSize = 0;
|
||||||
FSaveGameNode *quickSaveSlot = nullptr;
|
FSaveGameNode *quickSaveSlot = nullptr;
|
||||||
|
~FSavegameManager();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int InsertSaveNode(FSaveGameNode *node);
|
int InsertSaveNode(FSaveGameNode *node);
|
||||||
|
|
Loading…
Reference in a new issue