summaryrefslogtreecommitdiff
path: root/tests/Thread_Pool_Test.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-04-06 22:35:48 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-04-06 22:35:48 +0000
commit44938fd314f2e4c2725d9f86174a82f8c221a0a3 (patch)
tree93752382bdc8909c061d8af78fa63eba996746f3 /tests/Thread_Pool_Test.cpp
parentc48e600adafd52ea1328dbac024dfc3474b9123f (diff)
downloadATCD-44938fd314f2e4c2725d9f86174a82f8c221a0a3.tar.gz
*** empty log message ***
Diffstat (limited to 'tests/Thread_Pool_Test.cpp')
-rw-r--r--tests/Thread_Pool_Test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Thread_Pool_Test.cpp b/tests/Thread_Pool_Test.cpp
index 538982e450a..6350756a438 100644
--- a/tests/Thread_Pool_Test.cpp
+++ b/tests/Thread_Pool_Test.cpp
@@ -202,6 +202,10 @@ Thread_Pool::open (void *)
return 0;
}
+#if defined (ACE_TEMPLATES_REQUIRE_SPECIALIZATION)
+template class ACE_Lock_Adapter<ACE_Thread_Mutex>;
+#endif /* ACE_TEMPLATES_REQUIRE_SPECIALIZATION */
+
#endif /* ACE_HAS_THREADS */
int
@@ -233,7 +237,3 @@ main (int, char *[])
ACE_END_TEST;
return 0;
}
-
-#if defined (ACE_TEMPLATES_REQUIRE_SPECIALIZATION)
-template class ACE_Lock_Adapter<ACE_Thread_Mutex>;
-#endif /* ACE_TEMPLATES_REQUIRE_SPECIALIZATION */