aboutsummaryrefslogtreecommitdiff
path: root/build2/target
diff options
context:
space:
mode:
Diffstat (limited to 'build2/target')
-rw-r--r--build2/target7
1 files changed, 2 insertions, 5 deletions
diff --git a/build2/target b/build2/target
index 3bc9d5c..339ff90 100644
--- a/build2/target
+++ b/build2/target
@@ -763,13 +763,10 @@ namespace build2
return target != nullptr ? *target : build2::search (prerequisite);
}
- // Return as a new prerequisite instance for the specified owner target.
- // Note that if this is a prerequisite, then both owners should be in the
- // same scope (not a requirement if this is a target because then its path
- // will be absolute).
+ // Return as a new prerequisite instance.
//
prerequisite_type
- as_prerequisite_for (target_type& owner) const;
+ as_prerequisite () const;
};
// It is often stored as the target's auxiliary data so make sure there is