From 6f9d9fe1d1904ecc5ca52697ec2319a21008120f Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 20 Mar 2022 14:15:12 +0100 Subject: refactor: remove excessive amount of std::move in engine ctor --- src/engine/engine.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/engine') 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 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)) { } -- cgit v1.2.3-18-g5258