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 9c2c838..e2ac111 100644
--- a/build2/target.ixx
+++ b/build2/target.ixx
@@ -7,17 +7,17 @@ namespace build2
// prerequisite_member
//
inline prerequisite prerequisite_member::
- as_prerequisite_for (target_type& owner) const
+ as_prerequisite () const
{
if (target == nullptr)
- return prerequisite_type (prerequisite, owner);
+ return prerequisite;
// An ad hoc group member cannot be used as a prerequisite (use the whole
// group instead).
//
assert (!target->adhoc_member ());
- return prerequisite_type (*target, owner);
+ return prerequisite_type (*target);
}
// prerequisite_members