From fdb050b4b1b966683ff00dd14b268fe395492358 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 24 Feb 2015 08:27:04 +0200 Subject: Use prefix_map for scopes, establish root scope --- build/scope | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'build/scope') diff --git a/build/scope b/build/scope index 760fc03..58f7933 100644 --- a/build/scope +++ b/build/scope @@ -5,9 +5,8 @@ #ifndef BUILD_SCOPE #define BUILD_SCOPE -#include - #include +#include #include namespace build @@ -23,7 +22,7 @@ namespace build private: friend class scope_map; - typedef std::map::const_iterator iterator; + typedef path_map::const_iterator iterator; scope () = default; @@ -37,7 +36,7 @@ namespace build iterator i_; }; - class scope_map: std::map + class scope_map: path_map { public: scope& -- cgit v1.1