From 63e7a4a77cb8ceed7b42561fe3202b0b48d86db6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 18 Jun 2015 14:41:45 +0200 Subject: Move path and filesystem from build2 to libbutl --- build/scope | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'build/scope') diff --git a/build/scope b/build/scope index 7dec7a2..5266370 100644 --- a/build/scope +++ b/build/scope @@ -9,8 +9,9 @@ #include #include -#include -#include +#include + +#include #include #include #include @@ -133,7 +134,8 @@ namespace build temp_scope (scope& p) {path_ = p.path_; parent_ = &p; root_ = p.root_;} }; - class scope_map: public dir_path_map + using scope_map_base = butl::dir_path_map; + class scope_map: public scope_map_base { public: // Note that we assume the first insertion into the map is that @@ -160,9 +162,6 @@ namespace build // return find (dir_path (p.string ())); } - - private: - typedef dir_path_map base; }; extern scope_map scopes; -- cgit v1.1