commit | faacd0226c0dd3f44fd40e3baf77eb3ba840f0f2 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Wed Jul 08 16:44:38 2020 +0200 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Fri Jul 10 11:49:03 2020 +0200 |
tree | b7b936b4583921affec6602c3a6fd312330849d2 | |
parent | b94e155b060e461006c616ad7383c1f685b20edb [diff] [blame] |
Get rid of push_back in favor of emplace_back Change-Id: I4a0096441ed725eb21e42eb9cc17a173929e3788
diff --git a/src/ast_path.cpp b/src/ast_path.cpp index 0d8a606..8a41279 100644 --- a/src/ast_path.cpp +++ b/src/ast_path.cpp
@@ -336,7 +336,7 @@ where.pop_back(); } } else { - where.push_back(what); + where.emplace_back(what); } } }