summaryrefslogtreecommitdiff
path: root/tests/Hash_Map_Manager_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Hash_Map_Manager_Test.cpp')
-rw-r--r--tests/Hash_Map_Manager_Test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Hash_Map_Manager_Test.cpp b/tests/Hash_Map_Manager_Test.cpp
index c0daadb1610..fee17b3a20a 100644
--- a/tests/Hash_Map_Manager_Test.cpp
+++ b/tests/Hash_Map_Manager_Test.cpp
@@ -190,8 +190,8 @@ static const int MAX_HASH = 6;
// out how to simplify this.
static const POOL_SIZE = sizeof (HASH_STRING_ENTRY) * STRING_TABLE_SIZE
+ sizeof (HASH_STRING_ENTRY) * MAX_HASH;
-
-static ACE_Static_Allocator<POOL_SIZE> allocator;
+static char String_Table_pool[POOL_SIZE];
+static ACE_Static_Allocator_Base allocator (String_Table_pool, POOL_SIZE);
static int
run_test (void)