aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/drivers/tas_input.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-12-13 16:50:54 -0800
committerGitHub <noreply@github.com>2021-12-13 16:50:54 -0800
commitad45963b459d07d04e78f86d3316d7494730e9f9 (patch)
treea2e70a6ffad04ec840e4ff3cd581d7a4ec5853fa /src/input_common/drivers/tas_input.cpp
parent7276aaf907fbfa80da20c3311934e135b7a7de85 (diff)
parente4de1783e129c705585adf1b88439a5e07b61fb7 (diff)
Merge pull request #7575 from lioncash/input
input_engine: Minor object churn cleanup
Diffstat (limited to 'src/input_common/drivers/tas_input.cpp')
-rw-r--r--src/input_common/drivers/tas_input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/drivers/tas_input.cpp b/src/input_common/drivers/tas_input.cpp
index 2094c1feba..5bdd5dac3d 100644
--- a/src/input_common/drivers/tas_input.cpp
+++ b/src/input_common/drivers/tas_input.cpp
@@ -46,7 +46,7 @@ constexpr std::array<std::pair<std::string_view, TasButton>, 20> text_to_tas_but
{"KEY_ZR", TasButton::TRIGGER_ZR},
};
-Tas::Tas(const std::string& input_engine_) : InputCommon::InputEngine(input_engine_) {
+Tas::Tas(std::string input_engine_) : InputEngine(std::move(input_engine_)) {
for (size_t player_index = 0; player_index < PLAYER_NUMBER; player_index++) {
PadIdentifier identifier{
.guid = Common::UUID{},