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 typename Params::allocator_type allocator_type;
typedef typename allocator_type::template rebind<char>::other
internal_allocator_type;
using internal_allocator_type = typename std::allocator_traits<allocator_type>::template rebind_alloc<char>;
public:
// Default constructor.