mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
Fix non-constexpr format strings
This commit is contained in:
parent
18cf8ac767
commit
29d6dd609c
5 changed files with 12 additions and 14 deletions
|
@ -45,7 +45,7 @@ std::string NameForPartitionType(u32 partition_type, bool include_prefix)
|
|||
return include_prefix ? "P-" + type_as_game_id : type_as_game_id;
|
||||
}
|
||||
|
||||
return fmt::format(include_prefix ? "P{}" : "{}", partition_type);
|
||||
return fmt::format("{}{}", include_prefix ? "P" : "", partition_type);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue