update boost on linux
This commit is contained in:
@@ -18,6 +18,12 @@
|
||||
|
||||
#include <map>
|
||||
#include <boost/ptr_container/ptr_map_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
|
||||
{
|
||||
@@ -28,13 +34,15 @@ namespace boost
|
||||
class T,
|
||||
class Compare = std::less<Key>,
|
||||
class CloneAllocator = heap_clone_allocator,
|
||||
class Allocator = std::allocator< std::pair<const Key,void*> >
|
||||
class Allocator = std::allocator< std::pair<const Key,typename ptr_container_detail::void_ptr<T>::type> >
|
||||
>
|
||||
class ptr_map :
|
||||
public ptr_map_adapter<T,std::map<Key,void*,
|
||||
public ptr_map_adapter<T,std::map<Key,
|
||||
typename ptr_container_detail::void_ptr<T>::type,
|
||||
Compare,Allocator>,CloneAllocator>
|
||||
{
|
||||
typedef ptr_map_adapter<T,std::map<Key,void*,
|
||||
typedef ptr_map_adapter<T,std::map<Key,
|
||||
typename ptr_container_detail::void_ptr<T>::type,
|
||||
Compare,Allocator>,CloneAllocator>
|
||||
base_type;
|
||||
|
||||
@@ -162,4 +170,8 @@ namespace boost
|
||||
|
||||
}
|
||||
|
||||
#if defined(BOOST_PTR_CONTAINER_DISABLE_DEPRECATED)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user