Remove use of deprecated allocator rebind in cpp-btree

This commit is contained in:
Jonathan G Rennison
2021-10-29 21:12:16 +01:00
parent 9540d42427
commit 5586d1a20a

View File

@@ -917,8 +917,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 using internal_allocator_type = typename std::allocator_traits<allocator_type>::template rebind_alloc<char>;
internal_allocator_type;
public: public:
// Default constructor. // Default constructor.