Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit 9f65cb6

Browse files
authored
Fix deprecated std::allocator::rebind
1 parent 92ec61e commit 9f65cb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

btree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ class btree : public Params::key_compare {
925925
typedef std::reverse_iterator<iterator> reverse_iterator;
926926

927927
typedef typename Params::allocator_type allocator_type;
928-
typedef typename allocator_type::template rebind<char>::other
928+
typedef typename std::allocator_traits<allocator_type>::template rebind_alloc<char>
929929
internal_allocator_type;
930930

931931
public:

0 commit comments

Comments
 (0)