Fix non-constexpr format strings

This commit is contained in:
Pokechu22
2022-01-12 22:26:04 -08:00
parent 18cf8ac767
commit 29d6dd609c
5 changed files with 12 additions and 14 deletions

View File

@ -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);
}
}