Browse Source

Util: Add default formatting type to floating points checks

master
Riyyi 2 years ago
parent
commit
36a18f65c1
  1. 1
      src/util/format/parser.cpp

1
src/util/format/parser.cpp

@ -301,6 +301,7 @@ constexpr void Parser::checkSpecifierIntegralType(const Specifier& specifier)
constexpr void Parser::checkSpecifierFloatingPointType(const Specifier& specifier) constexpr void Parser::checkSpecifierFloatingPointType(const Specifier& specifier)
{ {
switch (specifier.type) { switch (specifier.type) {
case PresentationType::None:
case PresentationType::Hexfloat: case PresentationType::Hexfloat:
case PresentationType::HexfloatUppercase: case PresentationType::HexfloatUppercase:
case PresentationType::Exponent: case PresentationType::Exponent:

Loading…
Cancel
Save