mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Use the default allocator for std::vector
This commit is contained in:
parent
de52b30c3e
commit
01b91da1cd
@ -52,8 +52,7 @@ using small_vector = boost::container::small_vector<T, N, Allocator>;
|
||||
#else
|
||||
|
||||
// Boost version isn't new enough, fall back to just using std::vector.
|
||||
template <class T, std::size_t N,
|
||||
typename Allocator = boost::container::new_allocator<T>>
|
||||
template <class T, std::size_t N, typename Allocator = std::allocator<T>>
|
||||
using small_vector = std::vector<T, Allocator>;
|
||||
|
||||
#endif // HAVE_BOOST_CONTAINER_SMALL_VECTOR
|
||||
|
Loading…
x
Reference in New Issue
Block a user