Remove use of deprecated allocator rebind in cpp-btree
This commit is contained in:
3
src/3rdparty/cpp-btree/btree.h
vendored
3
src/3rdparty/cpp-btree/btree.h
vendored
@@ -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.
|
||||
|
Reference in New Issue
Block a user