diff options
| author | Alexander Kabaev <kan@FreeBSD.org> | 2006-08-26 21:29:46 +0000 |
|---|---|---|
| committer | Alexander Kabaev <kan@FreeBSD.org> | 2006-08-26 21:29:46 +0000 |
| commit | f482ed056f515d021e5a8d294c2be4c03baf46fd (patch) | |
| tree | 1eea941fcded8f9a67f75fffb3a63b2a4780a0e9 /contrib/libstdc++/include/ext/hashtable.h | |
| parent | e35cf0a56c70d1de4d2f6c4f4eadcb71e773050a (diff) | |
Notes
Diffstat (limited to 'contrib/libstdc++/include/ext/hashtable.h')
| -rw-r--r-- | contrib/libstdc++/include/ext/hashtable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libstdc++/include/ext/hashtable.h b/contrib/libstdc++/include/ext/hashtable.h index f81a8580b15a..9f2fb1ef151d 100644 --- a/contrib/libstdc++/include/ext/hashtable.h +++ b/contrib/libstdc++/include/ext/hashtable.h @@ -1,6 +1,6 @@ // Hashtable implementation used by containers -*- C++ -*- -// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -241,7 +241,7 @@ private: typedef _Hashtable_node<_Val> _Node; public: - typedef _Alloc allocator_type; + typedef typename _Alloc::template rebind<value_type>::other allocator_type; allocator_type get_allocator() const { return _M_node_allocator; } private: typedef typename _Alloc::template rebind<_Node>::other _Node_Alloc; |
