aboutsummaryrefslogtreecommitdiff
path: root/build2/utility.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-06-27 08:36:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-06-27 08:36:51 +0200
commit7161b24963dd9da4d218f92c736b77c35c328a2d (patch)
tree7a09a34194c11000b2e530649751020414f45999 /build2/utility.hxx
parentd1fbcace59846d55c66e741dbc3d59e20ae3e5cf (diff)
Fix member-group linkup issue in previous fix
We cannot linkup prerequisite targets since we are not matching them.
Diffstat (limited to 'build2/utility.hxx')
-rw-r--r--build2/utility.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/utility.hxx b/build2/utility.hxx
index 3843528..0aa5537 100644
--- a/build2/utility.hxx
+++ b/build2/utility.hxx
@@ -8,7 +8,7 @@
#include <tuple> // make_tuple()
#include <memory> // make_shared()
#include <string> // to_string()
-#include <utility> // move(), forward(), declval(), make_pair()
+#include <utility> // move(), forward(), declval(), make_pair(), swap()
#include <cassert> // assert()
#include <iterator> // make_move_iterator()
#include <algorithm> // *
@@ -37,6 +37,7 @@
namespace build2
{
using std::move;
+ using std::swap;
using std::forward;
using std::declval;