Replace deprecated allocator::rebind with allocator_traits::rebind_alloc
parent
6e20146406
commit
45e6d1f131
2
btree.h
2
btree.h
|
@ -927,7 +927,7 @@ class btree : public Params::key_compare {
|
|||
typedef std::reverse_iterator<iterator> reverse_iterator;
|
||||
|
||||
typedef typename Params::allocator_type allocator_type;
|
||||
typedef typename allocator_type::template rebind<char>::other
|
||||
typedef typename std::allocator_traits<allocator_type>::template rebind_alloc<char>
|
||||
internal_allocator_type;
|
||||
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue