aboutsummaryrefslogtreecommitdiff
path: root/build2/install/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/install/rule.cxx')
-rw-r--r--build2/install/rule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/install/rule.cxx b/build2/install/rule.cxx
index 2b5d048..8bf58aa 100644
--- a/build2/install/rule.cxx
+++ b/build2/install/rule.cxx
@@ -55,7 +55,7 @@ namespace build2
const target* alias_rule::
filter (action a, const target& t, prerequisite_iterator& i) const
{
- assert (i->target == nullptr);
+ assert (i->member == nullptr);
return filter (a, t, i->prerequisite);
}
@@ -218,7 +218,7 @@ namespace build2
const target* file_rule::
filter (action a, const target& t, prerequisite_iterator& i) const
{
- assert (i->target == nullptr);
+ assert (i->member == nullptr);
return filter (a, t, i->prerequisite);
}