From 723ea6535b4c4e5605e5592137a898d6ffa458c1 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 16 May 2022 21:03:03 +0200 Subject: style: use auto when initializing listen_input_thread --- src/engine/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index 4ac6a37..8b55d88 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -41,7 +41,7 @@ void CLIGameEngine::start() noexcept _configure_input(game->get_input_config()); - std::thread listen_input_thread(normalize_lambda( + auto listen_input_thread = std::thread(normalize_lambda( [this]() { _input_handler->listen(); -- cgit v1.2.3-18-g5258