From d0954351f53c0de0d2b0a0e0f422a40f82142d5c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 18 Jan 2018 11:41:23 +0200 Subject: Use prefix_map::find_sup/sub() --- build2/variable.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/variable.hxx') 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 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)); } -- cgit v1.1