diff options
author | Steve Huston <shuston@riverace.com> | 2001-12-19 00:03:08 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2001-12-19 00:03:08 +0000 |
commit | 9618f8b407e30b6e2ed1dc88d6b6490bee25c87f (patch) | |
tree | e2319a3e136a8c0cf82a6b8481f047d85dcf875d /ace/Configuration.cpp | |
parent | 817e502ff5d3bb74f890a896ec017b091dcc7efd (diff) | |
download | ATCD-9618f8b407e30b6e2ed1dc88d6b6490bee25c87f.tar.gz |
ChangeLogTag:Tue Dec 18 18:50:29 2001 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/Configuration.cpp')
-rw-r--r-- | ace/Configuration.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/ace/Configuration.cpp b/ace/Configuration.cpp index c6ee97ace3a..80f14b2a154 100644 --- a/ace/Configuration.cpp +++ b/ace/Configuration.cpp @@ -1288,9 +1288,7 @@ int ACE_Configuration_Heap::create_index_helper (void *buffer) { ACE_ASSERT (this->allocator_); - ACE_NEW_RETURN (this->index_, - (buffer) SECTION_MAP (this->allocator_), - -1); + this->index_ = new (buffer) SECTION_MAP (this->allocator_); return 0; } @@ -1444,9 +1442,7 @@ ACE_Configuration_Heap::value_open_helper (size_t hash_table_size, void *buffer) { ACE_ASSERT (this->allocator_); - ACE_NEW_RETURN (buffer, - (buffer) VALUE_MAP (hash_table_size, this->allocator_), - -1); + new (buffer) VALUE_MAP (hash_table_size, this->allocator_); return 0; } @@ -1455,9 +1451,7 @@ ACE_Configuration_Heap::section_open_helper (size_t hash_table_size, void *buffer) { ACE_ASSERT (this->allocator_); - ACE_NEW_RETURN (buffer, - (buffer) SUBSECTION_MAP (hash_table_size, this->allocator_), - -1); + new (buffer) SUBSECTION_MAP (hash_table_size, this->allocator_); return 0; } |