mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
small_vector: require boost >= 1.61
We use the small_vector constructors introduced in Boost 1.61 (trac bug 11866, github commit b436c91). If the Boost version is too old, we fall back to using std::vector.
This commit is contained in:
parent
2a044427c8
commit
14cf5c3684
@ -33,7 +33,12 @@
|
||||
|
||||
#include <boost/version.hpp>
|
||||
|
||||
#if BOOST_VERSION >= 105800
|
||||
/*
|
||||
* We use the small_vector constructors introduced in Boost 1.61 (trac bug
|
||||
* #11866, github commit b436c91). If the Boost version is too old, we fall
|
||||
* back to using std::vector.
|
||||
*/
|
||||
#if BOOST_VERSION >= 106100
|
||||
# define HAVE_BOOST_CONTAINER_SMALL_VECTOR
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user