aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/script.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/script/script.cxx')
-rw-r--r--build2/test/script/script.cxx11
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().