Browse Source

Util: Add container type to Parser

master
Riyyi 2 years ago
parent
commit
5cf8d18742
  1. 2
      src/util/format/parser.cpp
  2. 1
      src/util/format/parser.h

2
src/util/format/parser.cpp

@ -383,6 +383,8 @@ constexpr void Parser::checkSpecifierType(const Specifier& specifier, ParameterT
case ParameterType::Pointer: case ParameterType::Pointer:
checkSpecifierPointerType(specifier); checkSpecifierPointerType(specifier);
break; break;
case ParameterType::Container:
break;
default: default:
VERIFY_NOT_REACHED(); VERIFY_NOT_REACHED();
} }

1
src/util/format/parser.h

@ -31,6 +31,7 @@ public:
CString, CString,
String, String,
Pointer, Pointer,
Container,
}; };
Parser(std::string_view format, size_t parameterCount); Parser(std::string_view format, size_t parameterCount);

Loading…
Cancel
Save