formatting

This commit is contained in:
Günter Obiltschnig 2021-04-11 17:25:06 +02:00
parent ddd8bf1c5e
commit 0574043643

View File

@ -232,6 +232,7 @@ std::string PatternFormatter::getProperty(const std::string& name) const
return Formatter::getProperty(name);
}
void PatternFormatter::parsePriorityNames()
{
StringTokenizer st(_priorityNames, ",;", StringTokenizer::TOK_TRIM);
@ -245,6 +246,7 @@ void PatternFormatter::parsePriorityNames()
else throw Poco::SyntaxException("priorityNames property must specify a comma-separated list of 8 property names");
}
const std::string& PatternFormatter::getPriorityName(int prio)
{
poco_assert (1 <= prio && prio <= 8);