aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-01-24 13:38:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-01-24 13:38:41 +0200
commit53d082d06f4d89930b0689defec121630e21150f (patch)
tree10de655da7e5fd284cae229d80ce8396dc44997a
parent1815015036977c8f6438cc968d625f48b9e51286 (diff)
Add std::back_inserter() to utility.hxx
-rw-r--r--libbuild2/utility.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/utility.hxx b/libbuild2/utility.hxx
index e27eec2..2cb0738 100644
--- a/libbuild2/utility.hxx
+++ b/libbuild2/utility.hxx
@@ -9,7 +9,7 @@
#include <string> // to_string()
#include <utility> // move(), forward(), declval(), make_pair(), swap()
#include <cassert> // assert()
-#include <iterator> // make_move_iterator()
+#include <iterator> // make_move_iterator(), back_inserter()
#include <algorithm> // *
#include <functional> // ref(), cref()
#include <type_traits>
@@ -51,6 +51,7 @@ namespace build2
using std::make_tuple;
using std::make_shared;
using std::make_move_iterator;
+ using std::back_inserter;
using std::to_string;
using std::stoul;
using std::stoull;