summaryrefslogtreecommitdiff
path: root/tests/Future_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Future_Test.cpp')
-rw-r--r--tests/Future_Test.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/Future_Test.cpp b/tests/Future_Test.cpp
index cfd48fc5a7e..9336a6e10f8 100644
--- a/tests/Future_Test.cpp
+++ b/tests/Future_Test.cpp
@@ -286,6 +286,9 @@ static int n_loops = 100;
#if defined (ACE_TEMPLATES_REQUIRE_SPECIALIZATION)
template class ACE_Future<const char *>;
template class ACE_Future<u_long>;
+template class auto_ptr<ACE_Method_Object>;
+template class ACE_Future_Rep<char const *>;
+template class ACE_Future_Rep<unsigned long>;
#endif /* ACE_TEMPLATES_REQUIRE_SPECIALIZATION */
#endif /* ACE_HAS_THREADS */
@@ -400,9 +403,3 @@ main (int, char *[])
ACE_END_TEST;
return 0;
}
-
-#if defined (ACE_TEMPLATES_REQUIRE_SPECIALIZATION)
-template class auto_ptr<ACE_Method_Object>;
-template class ACE_Future_Rep<char const *>;
-template class ACE_Future_Rep<unsigned long>;
-#endif /* ACE_TEMPLATES_REQUIRE_SPECIALIZATION */