aboutsummaryrefslogtreecommitdiff
path: root/build2/variable.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-01-18 11:41:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-01-18 11:41:23 +0200
commitd0954351f53c0de0d2b0a0e0f422a40f82142d5c (patch)
tree50b201da74cb3b56da8b7d53c970c4bdfcd827af /build2/variable.hxx
parent14b295bdb00305370ec0aaad7f4319bad55ad6e9 (diff)
Use prefix_map::find_sup/sub()
Diffstat (limited to 'build2/variable.hxx')
-rw-r--r--build2/variable.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/variable.hxx b/build2/variable.hxx
index 61485b5..299ec71 100644
--- a/build2/variable.hxx
+++ b/build2/variable.hxx
@@ -1251,7 +1251,7 @@ namespace build2
pair<const_iterator, const_iterator>
find_namespace (const variable& ns) const
{
- auto r (m_.find_prefix (ns));
+ auto r (m_.find_sub (ns));
return make_pair (const_iterator (r.first, *this),
const_iterator (r.second, *this));
}