diff options
Diffstat (limited to 'Games/Snake/main.cpp')
-rw-r--r-- | Games/Snake/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Games/Snake/main.cpp b/Games/Snake/main.cpp index e8df14fd36..2000cc2aa4 100644 --- a/Games/Snake/main.cpp +++ b/Games/Snake/main.cpp @@ -18,7 +18,7 @@ int main(int argc, char** argv) window->set_title("Snake"); window->set_rect(100, 100, 320, 320); - auto* game = new SnakeGame; + auto game = SnakeGame::construct(); window->set_main_widget(game); auto menubar = make<GMenuBar>(); |