diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-08 18:17:02 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-08 18:17:02 +0000 |
commit | 4fe387acaaa5d2e9525c13080d5698dcd0af17f5 (patch) | |
tree | fc24cd5f82770c08ed0a386bd1c8169345a4067b /ace/Message_Block.cpp | |
parent | d163967b42e690fa743ea846c2006920dc05e086 (diff) | |
download | ATCD-4fe387acaaa5d2e9525c13080d5698dcd0af17f5.tar.gz |
fixed template specializations (gor g++), and assigned 0 to allocator_strategry_ after deleting it
Diffstat (limited to 'ace/Message_Block.cpp')
-rw-r--r-- | ace/Message_Block.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/Message_Block.cpp b/ace/Message_Block.cpp index 2ef11947a47..0346ada2eea 100644 --- a/ace/Message_Block.cpp +++ b/ace/Message_Block.cpp @@ -183,7 +183,7 @@ ACE_Data_Block::~ACE_Data_Block (void) if (this->delete_allocator_strategy_) { delete this->allocator_strategy_; - this->allocator_strategy_; + this->allocator_strategy_ = 0; } } @@ -661,6 +661,6 @@ ACE_Message_Block::operator= (const ACE_Message_Block &) } #if defined (ACE_TEMPLATES_REQUIRE_SPECIALIZATION) -template class ACE_Malloc <ACE_Local_Memory_Pool, ACE_Null_Mutex>; -template class ACE_Allocator_Adapter <ACE_Malloc <ACE_Local_Memory_Pool, ACE_Null_Mutex>; +template class ACE_Malloc <ACE_LOCAL_MEMORY_POOL, ACE_Null_Mutex>; +template class ACE_Allocator_Adapter <ACE_Malloc <ACE_LOCAL_MEMORY_POOL, ACE_Null_Mutex> >; #endif /* ACE_TEMPLATES_REQUIRE_SPECIALIZATION */ |