Fix broken include in small_vector.h (#359)

This commit is contained in:
Raúl Marín
2026-01-15 18:57:53 +01:00
committed by GitHub
parent 0ba7222ca8
commit 6bb8733e93

View File

@@ -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>;