mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2026-01-17 16:00:26 +03:00
Fix broken include in small_vector.h (#359)
This commit is contained in:
@@ -56,6 +56,8 @@
|
|||||||
|
|
||||||
#if defined(HAVE_BOOST_CONTAINER_SMALL_VECTOR)
|
#if defined(HAVE_BOOST_CONTAINER_SMALL_VECTOR)
|
||||||
# include <boost/container/small_vector.hpp>
|
# include <boost/container/small_vector.hpp>
|
||||||
|
#else
|
||||||
|
# include <vector>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace ue2 {
|
namespace ue2 {
|
||||||
@@ -68,8 +70,6 @@ using small_vector = boost::container::small_vector<T, N, Allocator>;
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
// Boost version isn't new enough, fall back to just using std::vector.
|
// Boost version isn't new enough, fall back to just using std::vector.
|
||||||
template <class T, std::size_t N, typename Allocator = std::allocator<T>>
|
template <class T, std::size_t N, typename Allocator = std::allocator<T>>
|
||||||
using small_vector = std::vector<T, Allocator>;
|
using small_vector = std::vector<T, Allocator>;
|
||||||
|
|||||||
Reference in New Issue
Block a user