]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
container.h: include <vector>
authorJustin Viiret <justin.viiret@intel.com>
Mon, 22 Aug 2016 02:37:46 +0000 (12:37 +1000)
committerMatthew Barr <matthew.barr@intel.com>
Fri, 28 Oct 2016 03:45:11 +0000 (14:45 +1100)
src/util/container.h

index 63e27743f066275c6c7f0a986f7320ffd752041a..e2cfb485e47e69d2d66bb42d6fc7719416d182b5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, Intel Corporation
+ * Copyright (c) 2015-2016, Intel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -41,6 +41,7 @@
 #include <set>
 #include <type_traits>
 #include <utility>
+#include <vector>
 
 namespace ue2 {
 
@@ -78,7 +79,9 @@ void insert(C *container, typename C::iterator pos, const D &donor) {
 }
 
 /**
- * \brief Constructs a vector from a range bounded by the given pair of iterators. */
+ * \brief Constructs a vector from a range bounded by the given pair of
+ * iterators.
+ */
 template <typename It>
 auto make_vector_from(const std::pair<It, It> &range)
     -> std::vector<decltype(*range.first)> {