aboutsummaryrefslogtreecommitdiff
path: root/build2/prerequisite
diff options
context:
space:
mode:
Diffstat (limited to 'build2/prerequisite')
-rw-r--r--build2/prerequisite7
1 files changed, 3 insertions, 4 deletions
diff --git a/build2/prerequisite b/build2/prerequisite
index a6d3632..9e1dbfa 100644
--- a/build2/prerequisite
+++ b/build2/prerequisite
@@ -71,10 +71,9 @@ namespace build2
const optional<string> ext; // Absent if unspecified.
const scope_type& scope;
- target_type* target; // NULL if not yet resolved. Note that this
- // should always be the "primary target", not
- // a member of a target group.
-
+ const_ptr<target_type> target; // NULL if not yet resolved. Note that this
+ // should always be the "primary target",
+ // not a member of a target group.
public:
prerequisite (optional<string> p,
const target_type_type& t,