Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use small_vector only from boost version 1.59 onwards #3151

Merged
merged 1 commit into from Feb 7, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions hpx/lcos/detail/future_data.hpp
Expand Up @@ -29,7 +29,9 @@

#include <boost/intrusive_ptr.hpp>

#if BOOST_VERSION < 105800
// NOTE: small_vector was introduced in 1.58 but seems to be buggy in that
// version, so use only from 1.59 onwards.
#if BOOST_VERSION < 105900
#include <vector>
#else
#include <boost/container/small_vector.hpp>
Expand Down Expand Up @@ -74,7 +76,7 @@ namespace detail
{
public:
typedef util::unique_function_nonser<void()> completed_callback_type;
#if BOOST_VERSION < 105800
#if BOOST_VERSION < 105900
typedef std::vector<completed_callback_type>
completed_callback_vector_type;
#else
Expand Down