From ac46b91673adae121e48bb6beedfb5b61339c39b Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Wed, 12 Jan 2022 17:28:17 -0800 Subject: Make all fmt::formatter constructors constexpr --- Source/UnitTests/Common/BitFieldTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/UnitTests/Common/BitFieldTest.cpp') diff --git a/Source/UnitTests/Common/BitFieldTest.cpp b/Source/UnitTests/Common/BitFieldTest.cpp index 91258d393c..bb0de4b4ab 100644 --- a/Source/UnitTests/Common/BitFieldTest.cpp +++ b/Source/UnitTests/Common/BitFieldTest.cpp @@ -201,7 +201,7 @@ TEST(BitField, Alignment) template <> struct fmt::formatter : EnumFormatter { - formatter() : EnumFormatter({"A", "B", "C", "D"}) {} + constexpr formatter() : EnumFormatter({"A", "B", "C", "D"}) {} }; // Test behavior of using BitFields with fmt -- cgit v1.2.3