Replace deprecated allocator::rebind with allocator_traits::rebind_alloc

master
Vitaliy Filippov 2022-05-04 11:45:52 +03:00
parent 6e20146406
commit 45e6d1f131
1 changed files with 1 additions and 1 deletions

View File

@ -927,7 +927,7 @@ class btree : public Params::key_compare {
typedef std::reverse_iterator<iterator> reverse_iterator; typedef std::reverse_iterator<iterator> reverse_iterator;
typedef typename Params::allocator_type allocator_type; 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; internal_allocator_type;
public: public: