mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Fix majors memory leaks (TODO: shared_ptr for Game objects and implement ~Game())
This commit is contained in:
parent
8f1e8fa106
commit
a8c59c41bc
12 changed files with 40 additions and 4 deletions
|
@ -8,6 +8,7 @@ class PGNGameBase : public GameBase {
|
|||
|
||||
public:
|
||||
PGNGameBase(std::string pgn_file);
|
||||
~PGNGameBase();
|
||||
Game *GetGame(std::uint32_t id);
|
||||
bool NextGame();
|
||||
Game *GetCurrentGame();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue