diff options
author | HampusM <hampus@hampusmat.com> | 2022-05-16 21:03:03 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:59 +0200 |
commit | 723ea6535b4c4e5605e5592137a898d6ffa458c1 (patch) | |
tree | e344d8fabc4a3e2a6f552f9e6803a2bcb912cbbc /src/engine/engine.cpp | |
parent | 019337908e37ffee9b624b313e9d7f885bff9781 (diff) |
style: use auto when initializing listen_input_thread
Diffstat (limited to 'src/engine/engine.cpp')
-rw-r--r-- | src/engine/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |