From 08e183d322981c705ba9fc7f4f1476cc7e7e5f23 Mon Sep 17 00:00:00 2001 From: "Dr. Dystopia" Date: Sun, 19 Jul 2026 20:30:21 +0200 Subject: Replace string concatination with `fmt::format` --- Source/Core/InputCommon/InputProfile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/InputCommon/InputProfile.cpp') 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); } } -- cgit v1.2.3