summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/InputProfile.cpp
diff options
context:
space:
mode:
authorDr. Dystopia <jonis9898@hotmail.com>2026-07-19 20:30:21 +0200
committerDr. Dystopia <jonis9898@hotmail.com>2026-07-28 12:39:54 +0200
commit08e183d322981c705ba9fc7f4f1476cc7e7e5f23 (patch)
tree1f64ee7d6bfb5038e37fc2256f0a067f3a648700 /Source/Core/InputCommon/InputProfile.cpp
parentd742aa8b4c4d052f7dceaa39022b1fe3996f1781 (diff)
Replace string concatination with `fmt::format`
Diffstat (limited to 'Source/Core/InputCommon/InputProfile.cpp')
-rw-r--r--Source/Core/InputCommon/InputProfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/InputProfile.cpp b/Source/Core/InputCommon/InputProfile.cpp
index f483e8a9c3..e1db4e8a46 100644
--- a/Source/Core/InputCommon/InputProfile.cpp
+++ b/Source/Core/InputCommon/InputProfile.cpp
@@ -133,7 +133,7 @@ void ProfileCycler::CycleProfile(CycleDirection cycle_direction, InputConfig* de
}
else
{
- Core::DisplayMessage("No controller found for index: " + std::to_string(controller_index),
+ Core::DisplayMessage(fmt::format("No controller found for index: {}", controller_index),
display_message_ms);
}
}
@@ -172,7 +172,7 @@ void ProfileCycler::CycleProfileForGame(CycleDirection cycle_direction,
}
else
{
- Core::DisplayMessage("No controller found for index: " + std::to_string(controller_index),
+ Core::DisplayMessage(fmt::format("No controller found for index: {}", controller_index),
display_message_ms);
}
}