Replace deprecated allocator::rebind with allocator_traits::rebind_alloc

Vitaliy Filippov 11 months ago
parent 6e20146406
commit 903ec858bc
  1. 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>::rebind_alloc<char>
internal_allocator_type;
public:

Loading…
Cancel
Save