mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-01 08:48:35 +00:00
Make all fmt::formatter constructors constexpr
This commit is contained in:
parent
78e43a4404
commit
ac46b91673
9 changed files with 66 additions and 65 deletions
|
@ -201,7 +201,7 @@ TEST(BitField, Alignment)
|
|||
template <>
|
||||
struct fmt::formatter<TestEnum> : EnumFormatter<TestEnum::D>
|
||||
{
|
||||
formatter() : EnumFormatter({"A", "B", "C", "D"}) {}
|
||||
constexpr formatter() : EnumFormatter({"A", "B", "C", "D"}) {}
|
||||
};
|
||||
|
||||
// Test behavior of using BitFields with fmt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue