aboutsummaryrefslogtreecommitdiff
path: root/build2/target.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-12 16:10:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-12 16:10:48 +0200
commit4e665067ff264c55086fdfb776a95b0fbb4d432c (patch)
tree2371403561c0a3d754792f68d2515cae71dff565 /build2/target.cxx
parent00ed965e4a29f66666d2bf4372d2d6919c29664e (diff)
<types>/<utility> scheme cleanup
Diffstat (limited to 'build2/target.cxx')
-rw-r--r--build2/target.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/build2/target.cxx b/build2/target.cxx
index 7a4913c..0a416bb 100644
--- a/build2/target.cxx
+++ b/build2/target.cxx
@@ -4,8 +4,6 @@
#include <build2/target>
-#include <cassert>
-
#include <butl/filesystem>
#include <build2/scope>
@@ -66,7 +64,7 @@ namespace build2
}
action = a;
- recipe_ = std::move (r);
+ recipe_ = move (r);
// Also reset the target state. If this is a noop recipe, then
// mark the target unchanged so that we don't waste time executing
@@ -566,7 +564,7 @@ namespace build2
false
};
- static const std::string*
+ static const string*
buildfile_target_extension (const target_key& tk, scope&)
{
// If the name is special 'buildfile', then there is no extension,