Revert "[clang-tidy] Replace push_back with emplace_back"

This reverts commit 897759e4dc.
This commit is contained in:
Paul Beckingham
2020-12-05 16:18:15 -05:00
parent ead50d4d6e
commit e3e158bf6a
6 changed files with 21 additions and 21 deletions

View File

@@ -122,7 +122,7 @@ void Eval::evaluateInfixExpression (const std::string& e, Variant& v) const
std::string token;
Lexer::Type type;
while (l.token (token, type))
tokens.emplace_back(token, type);
tokens.push_back (std::pair <std::string, Lexer::Type> (token, type));
// Parse for syntax checking and operator replacement.
if (_debug)
@@ -149,7 +149,7 @@ void Eval::evaluatePostfixExpression (const std::string& e, Variant& v) const
std::string token;
Lexer::Type type;
while (l.token (token, type))
tokens.emplace_back(token, type);
tokens.push_back (std::pair <std::string, Lexer::Type> (token, type));
if (_debug)
Context::getContext ().debug ("FILTER Postfix " + dump (tokens));