aboutsummaryrefslogtreecommitdiff
path: root/build2/target.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/target.ixx')
-rw-r--r--build2/target.ixx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/target.ixx b/build2/target.ixx
index 242e81d..cf1eec9 100644
--- a/build2/target.ixx
+++ b/build2/target.ixx
@@ -187,15 +187,15 @@ namespace build2
inline prerequisite prerequisite_member::
as_prerequisite () const
{
- if (target == nullptr)
+ if (member == nullptr)
return prerequisite;
// An ad hoc group member cannot be used as a prerequisite (use the whole
// group instead).
//
- assert (!target->adhoc_member ());
+ assert (!member->adhoc_member ());
- return prerequisite_type (*target);
+ return prerequisite_type (*member);
}
// prerequisite_members