Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Modules/ThirdParty/KWSys/src/KWSys/hashtable.hxx.in
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,15 @@ private:
typedef _Hashtable_node<_Val> _Node;

public:
typedef typename _Alloc::template rebind<_Val>::other allocator_type;
typedef typename std::allocator_traits<_Alloc>::template rebind_alloc<_Val>
allocator_type;
allocator_type get_allocator() const { return _M_node_allocator; }
private:
typedef typename std::allocator_traits<_Alloc>::template rebind_alloc<_Node>
_M_node_allocator_type;
typedef
typename _Alloc::template rebind<_Node>::other _M_node_allocator_type;
typedef
typename _Alloc::template rebind<_Node*>::other _M_node_ptr_allocator_type;
typename std::allocator_traits<_Alloc>::template rebind_alloc<_Node*>
_M_node_ptr_allocator_type;
typedef std::vector<_Node*, _M_node_ptr_allocator_type> _M_buckets_type;

private:
Expand Down