aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r--libbuild2/parser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index a5c34d9..1432d4b 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -999,8 +999,8 @@ namespace build2
// Add as an ad hoc member at the end of the chain skipping duplicates.
//
{
- const_ptr<target>* mp (&target_->member);
- for (; *mp != nullptr; mp = &(*mp)->member)
+ const_ptr<target>* mp (&target_->adhoc_member);
+ for (; *mp != nullptr; mp = &(*mp)->adhoc_member)
{
if (*mp == &at)
{