aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/algorithm.ixx
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/algorithm.ixx
parent9498585efc6e92eabca596d2ecbb78ffb343bca2 (diff)
Rename target::member to target::adhoc_member
Diffstat (limited to 'libbuild2/algorithm.ixx')
-rw-r--r--libbuild2/algorithm.ixx8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/algorithm.ixx b/libbuild2/algorithm.ixx
index c421218..7231fec 100644
--- a/libbuild2/algorithm.ixx
+++ b/libbuild2/algorithm.ixx
@@ -249,16 +249,16 @@ namespace build2
inline target*
find_adhoc_member (target& g, const target_type& tt)
{
- target* m (g.member);
- for (; m != nullptr && !m->is_a (tt); m = m->member) ;
+ target* m (g.adhoc_member);
+ for (; m != nullptr && !m->is_a (tt); m = m->adhoc_member) ;
return m;
}
inline const target*
find_adhoc_member (const target& g, const target_type& tt)
{
- const target* m (g.member);
- for (; m != nullptr && !m->is_a (tt); m = m->member) ;
+ const target* m (g.adhoc_member);
+ for (; m != nullptr && !m->is_a (tt); m = m->adhoc_member) ;
return m;
}