Migrate to std::shared_ptr<GameBase>

This commit is contained in:
Loic Guegan 2022-02-28 20:30:57 +01:00
parent 44ea0a50a3
commit bd71371bed
10 changed files with 22 additions and 26 deletions

View file

@ -14,8 +14,8 @@ public:
std::shared_ptr<Game> GetCurrentGame();
std::string GetTag(std::string tag);
void Save(std::vector<std::uint32_t> to_ignore,
std::vector<GameBase *> new_games_bases,
std::vector<std::shared_ptr<GameBase>> new_games_bases,
std::vector<std::shared_ptr<Game>> new_games);
void Reset();
void Export(GameBase *base);
void Export(std::shared_ptr<GameBase> base);
};