diff --git a/src/3rdparty/cpp-btree/btree.h b/src/3rdparty/cpp-btree/btree.h index ddea9e0282..2be24691d0 100644 --- a/src/3rdparty/cpp-btree/btree.h +++ b/src/3rdparty/cpp-btree/btree.h @@ -917,8 +917,7 @@ class btree : public Params::key_compare { typedef std::reverse_iterator reverse_iterator; typedef typename Params::allocator_type allocator_type; - typedef typename allocator_type::template rebind::other - internal_allocator_type; + using internal_allocator_type = typename std::allocator_traits::template rebind_alloc; public: // Default constructor.