update boost on linux
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include <boost/tuple/tuple.hpp>
|
||||
#include <boost/type_traits/is_copy_constructible.hpp>
|
||||
|
||||
#include <boost/lockfree/detail/allocator_rebind_helper.hpp>
|
||||
#include <boost/lockfree/detail/atomic.hpp>
|
||||
#include <boost/lockfree/detail/copy_payload.hpp>
|
||||
#include <boost/lockfree/detail/freelist.hpp>
|
||||
@@ -144,7 +145,7 @@ public:
|
||||
}
|
||||
|
||||
template <typename U>
|
||||
explicit stack(typename node_allocator::template rebind<U>::other const & alloc):
|
||||
explicit stack(typename detail::allocator_rebind_helper<node_allocator, U>::type const & alloc):
|
||||
pool(alloc, capacity)
|
||||
{
|
||||
BOOST_STATIC_ASSERT(has_capacity);
|
||||
@@ -169,7 +170,7 @@ public:
|
||||
}
|
||||
|
||||
template <typename U>
|
||||
stack(size_type n, typename node_allocator::template rebind<U>::other const & alloc):
|
||||
stack(size_type n, typename detail::allocator_rebind_helper<node_allocator, U>::type const & alloc):
|
||||
pool(alloc, n)
|
||||
{
|
||||
BOOST_STATIC_ASSERT(!has_capacity);
|
||||
|
||||
Reference in New Issue
Block a user