From 1033b69da83716cfd0ab82633e9eadc1faf91261 Mon Sep 17 00:00:00 2001 From: Vladyslav Baranovskyi Date: Thu, 20 Feb 2025 22:06:11 +0200 Subject: [PATCH] Revert "Formatting float16 differently" This reverts commit 4bd2d893791d8f4efd20b7dbe0fb257dc2a92fe1. --- openVulkanoCpp/Extensions/FmtFormatter.hpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/openVulkanoCpp/Extensions/FmtFormatter.hpp b/openVulkanoCpp/Extensions/FmtFormatter.hpp index fe29f17..737ec30 100644 --- a/openVulkanoCpp/Extensions/FmtFormatter.hpp +++ b/openVulkanoCpp/Extensions/FmtFormatter.hpp @@ -324,18 +324,12 @@ struct fmt::formatter }; template<> -struct fmt::formatter +struct fmt::formatter : 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); } };