aboutsummaryrefslogtreecommitdiff
path: root/build/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/parser.cxx')
-rw-r--r--build/parser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/parser.cxx b/build/parser.cxx
index e055bdb..06e489a 100644
--- a/build/parser.cxx
+++ b/build/parser.cxx
@@ -274,7 +274,7 @@ namespace build
scope_->prerequisites.insert (
*ti, move (pn.dir), move (pn.value), e, *scope_, trace).first);
- ps.push_back (p);
+ ps.emplace_back (p);
}
for (auto& tn: ns)
@@ -1391,7 +1391,7 @@ namespace build
trace).first);
p.target = &dt;
- ct.prerequisites.push_back (p);
+ ct.prerequisites.emplace_back (p);
}
token_type parser::