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/yang_access.cpp b/src/yang_access.cpp index d5c0ade..79d1c08 100644 --- a/src/yang_access.cpp +++ b/src/yang_access.cpp
@@ -260,7 +260,7 @@ } } } - res.push_back(instance); + res.emplace_back(instance); } return res; }