From 618c44ec5e85f7d07540234a0de9fac6e2913243 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 31 Mar 2015 06:29:05 +0200 Subject: Save config.build --- build/variable | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'build/variable') diff --git a/build/variable b/build/variable index 901f5c8..dfdcaff 100644 --- a/build/variable +++ b/build/variable @@ -217,6 +217,18 @@ namespace build return value_proxy (&base::operator[] (v), &scope_); } + std::pair + find_namespace (const std::string& ns) + { + return find_prefix (variable_pool.find (ns)); + } + + std::pair + find_namespace (const std::string& ns) const + { + return find_prefix (variable_pool.find (ns)); + } + explicit variable_map (scope& s): scope_ (s) {} -- cgit v1.1