mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-11-13 09:39:20 +01:00
Replace string concatination with fmt::format
This commit is contained in:
1 parent
d742aa8b4c
commit
08e183d322
12 files changed
+56
-38
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user