summaryrefslogtreecommitdiff
path: root/ace/Hash_Map_Manager_T.inl
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2006-06-08 17:27:13 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2006-06-08 17:27:13 +0000
commit37dfe665b8e5340eb7fdd1454dd95bf4008c7b9e (patch)
treec9f5a6ca2237ad860b2a935f9f3d4763f7f872e5 /ace/Hash_Map_Manager_T.inl
parent129e5b89c796bb9b6791448e7d18a6d88252b558 (diff)
downloadATCD-37dfe665b8e5340eb7fdd1454dd95bf4008c7b9e.tar.gz
ChangeLogTag:Thu
Diffstat (limited to 'ace/Hash_Map_Manager_T.inl')
-rw-r--r--ace/Hash_Map_Manager_T.inl12
1 files changed, 8 insertions, 4 deletions
diff --git a/ace/Hash_Map_Manager_T.inl b/ace/Hash_Map_Manager_T.inl
index ae3b189477d..401a526b08b 100644
--- a/ace/Hash_Map_Manager_T.inl
+++ b/ace/Hash_Map_Manager_T.inl
@@ -8,24 +8,28 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL
template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE
ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::ACE_Hash_Map_Manager_Ex (size_t size,
- ACE_Allocator *alloc)
+ ACE_Allocator *alloc,
+ ACE_Allocator *entry_alloc)
: allocator_ (alloc),
+ entry_allocator_ (entry_alloc),
table_ (0),
total_size_ (0),
cur_size_ (0)
{
- if (this->open (size, alloc) == -1)
+ if (this->open (size, alloc, entry_alloc) == -1)
ACE_ERROR ((LM_ERROR, ACE_LIB_TEXT ("ACE_Hash_Map_Manager_Ex\n")));
}
template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE
-ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::ACE_Hash_Map_Manager_Ex (ACE_Allocator *alloc)
+ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::ACE_Hash_Map_Manager_Ex (ACE_Allocator *alloc,
+ ACE_Allocator *entry_alloc)
: allocator_ (alloc),
+ entry_allocator_ (entry_alloc),
table_ (0),
total_size_ (0),
cur_size_ (0)
{
- if (this->open (ACE_DEFAULT_MAP_SIZE, alloc) == -1)
+ if (this->open (ACE_DEFAULT_MAP_SIZE, alloc, entry_alloc) == -1)
ACE_ERROR ((LM_ERROR, ACE_LIB_TEXT ("ACE_Hash_Map_Manager_Ex\n")));
}