From bd71371beda1b81e5664d6bb5ccdd4634fb52588 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 28 Feb 2022 20:30:57 +0100 Subject: Migrate to std::shared_ptr --- src/ochess.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ochess.hpp') diff --git a/src/ochess.hpp b/src/ochess.hpp index 3b2769e..9f09a88 100644 --- a/src/ochess.hpp +++ b/src/ochess.hpp @@ -47,7 +47,7 @@ wxDECLARE_APP(MyApp); void Abort(std::string msg); class Game; - +class GameBase; /** * @brief Attach informations to the application tabs * @@ -59,5 +59,5 @@ public: TabInfos(Type type_) : type(type_) {} virtual void ApplyPreferences() = 0; virtual std::shared_ptr GetGame() = 0; - virtual void *GetBase() = 0; + virtual std::shared_ptr GetBase() = 0; }; -- cgit v1.2.3