From afd0fd0c16c954b1f94108ec7349d463c5d5ca50 Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Wed, 13 Apr 2005 15:04:39 -0400
Subject: [PATCH] BUG: When constructing the bucket vector type the allocator
 given must have been rebound to _Node* already because GCC 3.4's vector type
 does not rebind it.

---
 hashtable.hxx.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hashtable.hxx.in b/hashtable.hxx.in
index d1a15161..3c49af70 100644
--- a/hashtable.hxx.in
+++ b/hashtable.hxx.in
@@ -292,7 +292,8 @@ public:
   allocator_type get_allocator() const { return _M_node_allocator; }
 private:
   typedef typename _Alloc::template rebind<_Node>::other _M_node_allocator_type;
-  typedef kwsys_stl::vector<_Node*,_Alloc> _M_buckets_type;
+  typedef typename _Alloc::template rebind<_Node*>::other _M_node_ptr_allocator_type;
+  typedef kwsys_stl::vector<_Node*,_M_node_ptr_allocator_type> _M_buckets_type;
 #else
 public:
   typedef hash_allocator<_Val, _Alloc> allocator_type;
-- 
GitLab