diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-20 14:15:12 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:56 +0200 |
commit | 6f9d9fe1d1904ecc5ca52697ec2319a21008120f (patch) | |
tree | 7c493eae168f04e2a2f6f0079587cdafae643445 /src/engine | |
parent | a9852bd2c5a601f9f9c58b1dff60e9130587657b (diff) |
refactor: remove excessive amount of std::move in engine ctor
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/engine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index db3ffb7..ed81ed3 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -10,9 +10,9 @@ CLIGameEngine::CLIGameEngine(IGameFactory game_factory, ISceneFactory scene_fact std::shared_ptr<IWindow> window) noexcept : _game_factory(game_factory), _scene_factory(scene_factory), - _input_handler(std::move(std::move(input_handler))), - _cursor_controller(std::move(std::move(cursor_controller))), - _window(std::move(std::move(window))) + _input_handler(std::move(input_handler)), + _cursor_controller(std::move(cursor_controller)), + _window(std::move(window)) { } |