summaryrefslogtreecommitdiff
path: root/ace/Hash_Map_Manager.cpp
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-30 09:07:42 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-30 09:07:42 +0000
commitbf657f74485ab4cb643d80d43d1c66f93a9d0783 (patch)
treed06342b5207f1398656ab96bcddad1fab52a190f /ace/Hash_Map_Manager.cpp
parentc48ee5600631a60d6ecc76a0dd72f2c1eaf87383 (diff)
downloadATCD-bf657f74485ab4cb643d80d43d1c66f93a9d0783.tar.gz
Changed to use ACE_DES* macros in close_i.
Diffstat (limited to 'ace/Hash_Map_Manager.cpp')
-rw-r--r--ace/Hash_Map_Manager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/Hash_Map_Manager.cpp b/ace/Hash_Map_Manager.cpp
index 99b1ba2d2e4..e46d6fcc036 100644
--- a/ace/Hash_Map_Manager.cpp
+++ b/ace/Hash_Map_Manager.cpp
@@ -145,13 +145,13 @@ ACE_Hash_Map_Manager<EXT_ID, INT_ID, ACE_LOCK>::close_i (void)
ACE_Hash_Map_Entry<EXT_ID, INT_ID> *hold_ptr = temp_ptr;
temp_ptr = temp_ptr->next_;
- // Explicitly call the destructor.
- hold_ptr->ACE_Hash_Map_Entry<EXT_ID, INT_ID>::~ACE_Hash_Map_Entry ();
- this->allocator_->free (hold_ptr);
+ ACE_DES_FREE_TEMPLATE (hold_ptr, this->allocator_->free,
+ ACE_Hash_Map_Entry, <EXT_ID, INT_ID>);
}
// Now deal with the sentinal
// Explicitly call the destructor.
- this->table_[i].ACE_Hash_Map_Entry<EXT_ID, INT_ID>::~ACE_Hash_Map_Entry ();
+ ACE_DES_NOFREE_TEMPLATE (&table[i], ACE_Hash_Map_Entry,
+ <EXIT_ID, INT_ID>);
}
// Free table memory