diff --git a/src/util/small_vector.h b/src/util/small_vector.h index 6293759c..0f54bbf6 100644 --- a/src/util/small_vector.h +++ b/src/util/small_vector.h @@ -33,7 +33,12 @@ #include -#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