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:
checkSpecifierPointerType(specifier);
break;
case ParameterType::Container:
break;
default:
VERIFY_NOT_REACHED();
}

1
src/util/format/parser.h

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

Loading…
Cancel
Save