From 36a18f65c1e0290a911512e01796b78c09817a70 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sat, 6 Aug 2022 19:53:45 +0200 Subject: [PATCH] Util: Add default formatting type to floating points checks --- src/util/format/parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/format/parser.cpp b/src/util/format/parser.cpp index 33bd2b4..7e1cdfb 100644 --- a/src/util/format/parser.cpp +++ b/src/util/format/parser.cpp @@ -301,6 +301,7 @@ constexpr void Parser::checkSpecifierIntegralType(const Specifier& specifier) constexpr void Parser::checkSpecifierFloatingPointType(const Specifier& specifier) { switch (specifier.type) { + case PresentationType::None: case PresentationType::Hexfloat: case PresentationType::HexfloatUppercase: case PresentationType::Exponent: