App: use emplace_back

This commit is contained in:
berniev
2022-08-05 16:04:34 +10:00
committed by wwmayer
parent b20060bcd0
commit e7357c1a99
8 changed files with 23 additions and 23 deletions

View File

@@ -3284,7 +3284,7 @@ std::vector<std::tuple<int, int, std::string> > tokenize(const std::string &str)
column = 0;
try {
while ( (token = ExpressionParserlex()) != 0)
result.push_back(std::make_tuple(token, ExpressionParser::last_column, yytext));
result.emplace_back(token, ExpressionParser::last_column, yytext);
}
catch (...) {
// Ignore all exceptions