From 4e665067ff264c55086fdfb776a95b0fbb4d432c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 12 Feb 2016 16:10:48 +0200 Subject: / scheme cleanup --- build2/algorithm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'build2/algorithm') diff --git a/build2/algorithm b/build2/algorithm index 33c60ba..f0f2fbf 100644 --- a/build2/algorithm +++ b/build2/algorithm @@ -5,10 +5,9 @@ #ifndef BUILD2_ALGORITHM #define BUILD2_ALGORITHM -#include -#include // pair - #include +#include + #include #include @@ -43,8 +42,8 @@ namespace build2 target& search (const target_type& type, const dir_path& dir, - const std::string& name, - const std::string* ext, + const string& name, + const string* ext, scope*); // As above but specify the target type as template argument. @@ -52,8 +51,8 @@ namespace build2 template T& search (const dir_path& dir, - const std::string& name, - const std::string* ext, + const string& name, + const string* ext, scope*); // Search for a target identified by the name. The semantics @@ -91,7 +90,7 @@ namespace build2 // that unlike match(), this call doesn't increment the // dependents count. See also the companion execute_delegate(). // - std::pair + pair match_delegate (action, target&); // The standard prerequisite search and match implementations. They call -- cgit v1.1