summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/am/applets/software_keyboard.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/hle/service/am/applets/software_keyboard.cpp b/src/core/hle/service/am/applets/software_keyboard.cpp
index a1027a9ad..b1a81810b 100644
--- a/src/core/hle/service/am/applets/software_keyboard.cpp
+++ b/src/core/hle/service/am/applets/software_keyboard.cpp
@@ -290,10 +290,10 @@ void SoftwareKeyboard::ProcessTextCheck() {
290 SubmitNormalOutputAndExit(SwkbdResult::Ok, current_text); 290 SubmitNormalOutputAndExit(SwkbdResult::Ok, current_text);
291 break; 291 break;
292 case SwkbdTextCheckResult::Failure: 292 case SwkbdTextCheckResult::Failure:
293 ShowTextCheckDialog(SwkbdTextCheckResult::Failure, text_check_message); 293 ShowTextCheckDialog(SwkbdTextCheckResult::Failure, std::move(text_check_message));
294 break; 294 break;
295 case SwkbdTextCheckResult::Confirm: 295 case SwkbdTextCheckResult::Confirm:
296 ShowTextCheckDialog(SwkbdTextCheckResult::Confirm, text_check_message); 296 ShowTextCheckDialog(SwkbdTextCheckResult::Confirm, std::move(text_check_message));
297 break; 297 break;
298 case SwkbdTextCheckResult::Silent: 298 case SwkbdTextCheckResult::Silent:
299 default: 299 default:
@@ -487,7 +487,7 @@ void SoftwareKeyboard::InitializeFrontendKeyboard() {
487 max_text_length <= 32 ? SwkbdTextDrawType::Line : SwkbdTextDrawType::Box; 487 max_text_length <= 32 ? SwkbdTextDrawType::Line : SwkbdTextDrawType::Box;
488 488
489 Core::Frontend::KeyboardInitializeParameters initialize_parameters{ 489 Core::Frontend::KeyboardInitializeParameters initialize_parameters{
490 .ok_text{ok_text}, 490 .ok_text{std::move(ok_text)},
491 .header_text{}, 491 .header_text{},
492 .sub_text{}, 492 .sub_text{},
493 .guide_text{}, 493 .guide_text{},
@@ -563,10 +563,10 @@ void SoftwareKeyboard::InitializeFrontendKeyboard() {
563 : false; 563 : false;
564 564
565 Core::Frontend::KeyboardInitializeParameters initialize_parameters{ 565 Core::Frontend::KeyboardInitializeParameters initialize_parameters{
566 .ok_text{ok_text}, 566 .ok_text{std::move(ok_text)},
567 .header_text{header_text}, 567 .header_text{std::move(header_text)},
568 .sub_text{sub_text}, 568 .sub_text{std::move(sub_text)},
569 .guide_text{guide_text}, 569 .guide_text{std::move(guide_text)},
570 .initial_text{initial_text}, 570 .initial_text{initial_text},
571 .max_text_length{max_text_length}, 571 .max_text_length{max_text_length},
572 .min_text_length{min_text_length}, 572 .min_text_length{min_text_length},
@@ -595,7 +595,7 @@ void SoftwareKeyboard::ShowNormalKeyboard() {
595 595
596void SoftwareKeyboard::ShowTextCheckDialog(SwkbdTextCheckResult text_check_result, 596void SoftwareKeyboard::ShowTextCheckDialog(SwkbdTextCheckResult text_check_result,
597 std::u16string text_check_message) { 597 std::u16string text_check_message) {
598 frontend.ShowTextCheckDialog(text_check_result, text_check_message); 598 frontend.ShowTextCheckDialog(text_check_result, std::move(text_check_message));
599} 599}
600 600
601void SoftwareKeyboard::ShowInlineKeyboard() { 601void SoftwareKeyboard::ShowInlineKeyboard() {