Browse Source

Replace deprecated allocator::rebind with allocator_traits::rebind_alloc

master
Vitaliy Filippov 2 weeks ago
parent
commit
45e6d1f131
  1. 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…
Cancel
Save