From 45e6d1f13196a0824e2089a586c53b9de0283f17 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Wed, 4 May 2022 11:45:52 +0300 Subject: [PATCH] Replace deprecated allocator::rebind with allocator_traits::rebind_alloc --- btree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btree.h b/btree.h index 49a74c4..c7a977a 100644 --- a/btree.h +++ b/btree.h @@ -927,7 +927,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 + typedef typename std::allocator_traits::template rebind_alloc internal_allocator_type; public: