diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-10-28 21:19:36 +0300 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:36 +0200 |
commit | 134b6691cb57bb0089889faea2e4788bd450941e (patch) | |
tree | 4cf89997580054c9b13677689501a5f47b74e833 /build2/test/script/script.cxx | |
parent | bd6ebe8c2ca359fb201b84d9004b650d943b4d51 (diff) |
Add support for &dir/*** test path cleanup syntax
Diffstat (limited to 'build2/test/script/script.cxx')
-rw-r--r-- | build2/test/script/script.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
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(). |