From 134b6691cb57bb0089889faea2e4788bd450941e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 28 Oct 2016 21:19:36 +0300 Subject: Add support for &dir/*** test path cleanup syntax --- build2/test/script/script.cxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'build2/test/script/script.cxx') diff --git a/build2/test/script/script.cxx b/build2/test/script/script.cxx index f1dab63..058720a 100644 --- a/build2/test/script/script.cxx +++ b/build2/test/script/script.cxx @@ -291,16 +291,7 @@ namespace build2 // command // void scope:: - clean (const path& p) - { - using std::find; // Hidden by scope::find(). - - if (find (cleanups.begin (), cleanups.end (), p) == cleanups.end ()) - cleanups.emplace_back (p); - } - - void scope:: - clean (path&& p) + clean (path p) { using std::find; // Hidden by scope::find(). -- cgit v1.1