aboutsummaryrefslogtreecommitdiff
path: root/build/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-17 15:08:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-17 15:08:05 +0200
commit8f8ab1e8f6d85748547c0d0e9987eed4f3c3e17b (patch)
tree1ef9a9f271d688f1f6f2eb3fc5a8972574677433 /build/parser.cxx
parent6535bf6175af32e2514faf75d2742424751a783b (diff)
Add support for target groups, use to handle obj/obja/objso object targets
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::