aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install/rule.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/install/rule.cxx
parent9498585efc6e92eabca596d2ecbb78ffb343bca2 (diff)
Rename target::member to target::adhoc_member
Diffstat (limited to 'libbuild2/install/rule.cxx')
-rw-r--r--libbuild2/install/rule.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/libbuild2/install/rule.cxx b/libbuild2/install/rule.cxx
index 8a5d174..b8d6a34 100644
--- a/libbuild2/install/rule.cxx
+++ b/libbuild2/install/rule.cxx
@@ -978,7 +978,9 @@ namespace build2
// Then installable ad hoc group members, if any.
//
- for (const target* m (t.member); m != nullptr; m = m->member)
+ for (const target* m (t.adhoc_member);
+ m != nullptr;
+ m = m->adhoc_member)
{
if (const file* mf = m->is_a<file> ())
{
@@ -1256,7 +1258,9 @@ namespace build2
// we would have to do it in reverse, but that's not easy (it's a
// single-linked list).
//
- for (const target* m (t.member); m != nullptr; m = m->member)
+ for (const target* m (t.adhoc_member);
+ m != nullptr;
+ m = m->adhoc_member)
{
if (const file* mf = m->is_a<file> ())
{