aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-04-28 07:48:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-04-30 14:44:32 +0200
commit771f4176ad578e1967e0407c31cefaf1c38081aa (patch)
treec536cb2460d594a82ca1c0511dac9dc01f17660f /libbuild2/parser.cxx
parent9498585efc6e92eabca596d2ecbb78ffb343bca2 (diff)
Rename target::member to target::adhoc_member
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)
{