diff --git a/openVulkanoCpp/Extensions/FmtFormatter.hpp b/openVulkanoCpp/Extensions/FmtFormatter.hpp index 737ec30..fe29f17 100644 --- a/openVulkanoCpp/Extensions/FmtFormatter.hpp +++ b/openVulkanoCpp/Extensions/FmtFormatter.hpp @@ -324,12 +324,18 @@ struct fmt::formatter }; template<> -struct fmt::formatter : fmt::formatter +struct fmt::formatter { + template + constexpr auto parse(ParseContext& ctx) + { + return fmt::formatter{}.parse(ctx); + } + template auto format(const float16& f, FormatContext& ctx) const { - return fmt::formatter::format(static_cast(f), ctx); + return fmt::formatter{}.format(static_cast(f), ctx); } };