summaryrefslogtreecommitdiff
path: root/tests/Reactors_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Reactors_Test.cpp')
-rw-r--r--tests/Reactors_Test.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/Reactors_Test.cpp b/tests/Reactors_Test.cpp
index f1daf382a18..9cbc60a0b66 100644
--- a/tests/Reactors_Test.cpp
+++ b/tests/Reactors_Test.cpp
@@ -198,6 +198,14 @@ worker (void *args)
ACE_NOTREACHED (return 0);
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+template class ACE_Atomic_Op<ACE_Thread_Mutex, int>;
+template class ACE_Atomic_Op_Ex<ACE_Thread_Mutex, int>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+#pragma instantiate ACE_Atomic_Op<ACE_Thread_Mutex, int>
+#pragma instantiate ACE_Atomic_Op_Ex<ACE_Thread_Mutex, int>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
#endif /* ACE_HAS_THREADS */
int