From 903ec858bc8ab00fc0fbd44c23f0ab7770772353 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..6f24a4a 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::rebind_alloc internal_allocator_type; public: