aboutsummaryrefslogtreecommitdiff
path: root/src/MainWindow.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-02-28 20:16:57 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-02-28 20:16:57 +0100
commit44ea0a50a39d58cb9e1f167c2973e396b4d853aa (patch)
tree14cae56496eb72816f6f3d8b2323e6abfa79f200 /src/MainWindow.hpp
parent4c959fe12ed2f26cbfac9646d3488cb00676fb31 (diff)
Migrate to std::shared_ptr<Game>
Diffstat (limited to 'src/MainWindow.hpp')
-rw-r--r--src/MainWindow.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MainWindow.hpp b/src/MainWindow.hpp
index c223701..bd33ad7 100644
--- a/src/MainWindow.hpp
+++ b/src/MainWindow.hpp
@@ -23,7 +23,7 @@ class MainWindow : public MainFrame {
void OpenFile();
void OnPageChange(wxAuiNotebookEvent &event);
void OnRefreshTabTitle(wxCommandEvent &event);
- void NewGame(Game *game);
+ void NewGame(std::shared_ptr<Game> game);
void OpenSettings();
void NewEngine();
void OnCloseTabEvent(wxCommandEvent &event);