aboutsummaryrefslogtreecommitdiff
path: root/build/cxx/rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-22 09:39:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-06-22 09:39:14 +0200
commit88d26293e08647361824622765f6f3c9cafde577 (patch)
tree4b40cf626bd68daeac333c2833cdb60ba1d527b5 /build/cxx/rule.cxx
parent6ecaa7e76c91a2842bcc63626a908bb2340b77b6 (diff)
Remove prerequisite rewriting from inject_parent_fsdir()
Diffstat (limited to 'build/cxx/rule.cxx')
-rw-r--r--build/cxx/rule.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/build/cxx/rule.cxx b/build/cxx/rule.cxx
index 72c4e35..9564638 100644
--- a/build/cxx/rule.cxx
+++ b/build/cxx/rule.cxx
@@ -610,10 +610,7 @@ namespace build
// Process prerequisites: do rule chaining for C and C++ source
// files as well as search and match.
//
- group_prerequisites gp (t);
- t.prerequisite_targets.reserve (gp.size ());
-
- for (prerequisite_ref& pr: gp)
+ for (prerequisite_ref& pr: group_prerequisites (t))
{
bool group (!pr.belongs (t)); // Target group's prerequisite.