aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r--src/game/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index 9b08adc..2c99c6a 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -3,7 +3,7 @@
#include <chrono>
#include <thread>
-Game::Game(const std::shared_ptr<IScene> &scene) : _scene(scene) {}
+Game::Game(std::shared_ptr<IScene> scene) : _scene(std::move(scene)) {}
void Game::run()
{