summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-02-01 18:51:03 +0100
committerLioncash <mathew1800@gmail.com>2022-02-01 18:51:03 +0100
commit2dba59d1ff590d6e28364f57bb972affb5ee59ce (patch)
treeed0abf66733c2b8d2e94df15236a4c6f636b0bc2 /src
parentconfigure_input_player: Avoid unnecessary ParamPackage copies (diff)
downloadyuzu-2dba59d1ff590d6e28364f57bb972affb5ee59ce.tar
yuzu-2dba59d1ff590d6e28364f57bb972affb5ee59ce.tar.gz
yuzu-2dba59d1ff590d6e28364f57bb972affb5ee59ce.tar.bz2
yuzu-2dba59d1ff590d6e28364f57bb972affb5ee59ce.tar.lz
yuzu-2dba59d1ff590d6e28364f57bb972affb5ee59ce.tar.xz
yuzu-2dba59d1ff590d6e28364f57bb972affb5ee59ce.tar.zst
yuzu-2dba59d1ff590d6e28364f57bb972affb5ee59ce.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/configure_input_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_input_player.cpp b/src/yuzu/configuration/configure_input_player.cpp
index 4fda84294..cea50c6d7 100644
--- a/src/yuzu/configuration/configure_input_player.cpp
+++ b/src/yuzu/configuration/configure_input_player.cpp
@@ -1308,7 +1308,7 @@ void ConfigureInputPlayer::HandleClick(
}
button->setFocus();
- input_setter = new_input_setter;
+ input_setter = std::move(new_input_setter);
input_subsystem->BeginMapping(type);