aboutsummaryrefslogtreecommitdiff
path: root/build2/variable.hxx
diff options
context:
space:
mode:
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));
}