aboutsummaryrefslogtreecommitdiff
path: root/build2/install/utility
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/install/utility
parent00ed965e4a29f66666d2bf4372d2d6919c29664e (diff)
<types>/<utility> scheme cleanup
Diffstat (limited to 'build2/install/utility')
-rw-r--r--build2/install/utility11
1 files changed, 5 insertions, 6 deletions
diff --git a/build2/install/utility b/build2/install/utility
index 98eca77..3d3b1a1 100644
--- a/build2/install/utility
+++ b/build2/install/utility
@@ -5,11 +5,10 @@
#ifndef BUILD2_INSTALL_UTILITY
#define BUILD2_INSTALL_UTILITY
-#include <string>
-#include <utility>
+#include <build2/types>
+#include <build2/utility>
#include <build2/scope>
-#include <build2/types>
namespace build2
{
@@ -23,16 +22,16 @@ namespace build2
{
auto r (s.target_vars[T::static_type]["*"].assign ("install"));
if (r.second) // Already set by the user?
- r.first.get () = std::move (d);
+ r.first.get () = move (d);
}
template <typename T>
inline void
- mode (scope& s, std::string m)
+ mode (scope& s, string m)
{
auto r (s.target_vars[T::static_type]["*"].assign ("install.mode"));
if (r.second) // Already set by the user?
- r.first.get () = std::move (m);
+ r.first.get () = move (m);
}
}
}