diff options
author | Lioncash <mathew1800@gmail.com> | 2021-12-13 15:23:19 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-12-13 15:23:23 +0100 |
commit | a92dbec96242fe246de99878b12e217b3087463e (patch) | |
tree | d59ac2ac61a00afc1776ac8daf6a2a286fa29e43 /src/input_common/input_engine.cpp | |
parent | input_engine: Pass LedStatus by const reference (diff) | |
download | yuzu-a92dbec96242fe246de99878b12e217b3087463e.tar yuzu-a92dbec96242fe246de99878b12e217b3087463e.tar.gz yuzu-a92dbec96242fe246de99878b12e217b3087463e.tar.bz2 yuzu-a92dbec96242fe246de99878b12e217b3087463e.tar.lz yuzu-a92dbec96242fe246de99878b12e217b3087463e.tar.xz yuzu-a92dbec96242fe246de99878b12e217b3087463e.tar.zst yuzu-a92dbec96242fe246de99878b12e217b3087463e.zip |
Diffstat (limited to 'src/input_common/input_engine.cpp')
-rw-r--r-- | src/input_common/input_engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/input_engine.cpp b/src/input_common/input_engine.cpp index 2b2105376..6b057e2f1 100644 --- a/src/input_common/input_engine.cpp +++ b/src/input_common/input_engine.cpp @@ -342,7 +342,7 @@ const std::string& InputEngine::GetEngineName() const { int InputEngine::SetCallback(InputIdentifier input_identifier) { std::lock_guard lock{mutex_callback}; - callback_list.insert_or_assign(last_callback_key, input_identifier); + callback_list.insert_or_assign(last_callback_key, std::move(input_identifier)); return last_callback_key++; } |