summaryrefslogtreecommitdiff
path: root/tests/Map_Test.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-06 06:51:57 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-06 06:51:57 +0000
commit908daee238d3dfd0fcf632648d8bbdbf3b7c6896 (patch)
tree76a589631cdf0f40845d5ac97603a85f2cc6a560 /tests/Map_Test.cpp
parent6a48a67b912781aa0851384cf99000e8d6f1c3fb (diff)
downloadATCD-908daee238d3dfd0fcf632648d8bbdbf3b7c6896.tar.gz
*** empty log message ***
Diffstat (limited to 'tests/Map_Test.cpp')
-rw-r--r--tests/Map_Test.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/Map_Test.cpp b/tests/Map_Test.cpp
index 59df1a41d07..32555b8bd68 100644
--- a/tests/Map_Test.cpp
+++ b/tests/Map_Test.cpp
@@ -18,6 +18,7 @@
// ============================================================================
#include "test_config.h"
+#include "ace/Containers.h"
#include "ace/Map_T.h"
#include "ace/Profile_Timer.h"
#include "ace/Synch.h"
@@ -29,7 +30,7 @@ USELIB("..\ace\aced.lib");
//---------------------------------------------------------------------------
#endif /* defined(__BORLANDC__) && __BORLANDC__ >= 0x0530 */
-// Key type.
+// Key data type.
typedef ACE_Array<char> KEY;
////////////////////////////////////////////////////////////////////////////////
@@ -183,7 +184,7 @@ functionality_test (MAP &map,
i < iterations;
++i)
{
- original_keys[i].size (sizeof i / sizeof KEY::TYPE);
+ original_keys[i].size (sizeof i / sizeof (KEY::TYPE));
ACE_OS::memcpy (&original_keys[i][0],
&i,
sizeof i);
@@ -452,6 +453,8 @@ main (int argc, ASYS_TCHAR *argv[])
return 0;
}
+#if 0
+
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
template class ACE_Hash_Map_Manager_Ex<TYPE, TYPE, HASH_KEY, COMPARE_KEYS, MUTEX>;
template class ACE_Hash_Map_Iterator_Base_Ex<TYPE, TYPE, HASH_KEY, COMPARE_KEYS, MUTEX>;
@@ -490,3 +493,4 @@ template class ACE_Map_Entry<ACE_Active_Map_Manager_Key, TYPE>;
#pragma instantiate ACE_Map_Entry<ACE_Active_Map_Manager_Key, TYPE>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+#endif