updated boost on windows
This commit is contained in:
@@ -18,6 +18,12 @@
|
||||
|
||||
#include <vector>
|
||||
#include <boost/ptr_container/ptr_sequence_adapter.hpp>
|
||||
#include <boost/ptr_container/detail/ptr_container_disable_deprecated.hpp>
|
||||
|
||||
#if defined(BOOST_PTR_CONTAINER_DISABLE_DEPRECATED)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
|
||||
namespace boost
|
||||
{
|
||||
@@ -26,15 +32,15 @@ namespace boost
|
||||
<
|
||||
class T,
|
||||
class CloneAllocator = heap_clone_allocator,
|
||||
class Allocator = std::allocator<void*>
|
||||
class Allocator = std::allocator<typename ptr_container_detail::void_ptr<T>::type>
|
||||
>
|
||||
class ptr_vector : public
|
||||
ptr_sequence_adapter< T,
|
||||
std::vector<void*,Allocator>,
|
||||
ptr_sequence_adapter< T, std::vector<
|
||||
typename ptr_container_detail::void_ptr<T>::type,Allocator>,
|
||||
CloneAllocator >
|
||||
{
|
||||
typedef ptr_sequence_adapter< T,
|
||||
std::vector<void*,Allocator>,
|
||||
typedef ptr_sequence_adapter< T, std::vector<
|
||||
typename ptr_container_detail::void_ptr<T>::type,Allocator>,
|
||||
CloneAllocator >
|
||||
base_class;
|
||||
|
||||
@@ -74,4 +80,8 @@ namespace boost
|
||||
|
||||
}
|
||||
|
||||
#if defined(BOOST_PTR_CONTAINER_DISABLE_DEPRECATED)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user