summaryrefslogtreecommitdiff
path: root/tests/Reactor_Notify_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Reactor_Notify_Test.cpp')
-rw-r--r--tests/Reactor_Notify_Test.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/Reactor_Notify_Test.cpp b/tests/Reactor_Notify_Test.cpp
index a24bf4770a8..115712ad4b4 100644
--- a/tests/Reactor_Notify_Test.cpp
+++ b/tests/Reactor_Notify_Test.cpp
@@ -491,3 +491,18 @@ run_main (int, ACE_TCHAR *[])
return test_result;
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+template class auto_ptr<Purged_Notify>;
+template class auto_ptr<ACE_Reactor>;
+template class auto_ptr<ACE_Select_Reactor>;
+template class ACE_Auto_Basic_Ptr<Purged_Notify>;
+template class ACE_Auto_Basic_Ptr<ACE_Reactor>;
+template class ACE_Auto_Basic_Ptr<ACE_Select_Reactor>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+#pragma instantiate auto_ptr<Purged_Notify>
+#pragma instantiate auto_ptr<ACE_Reactor>
+#pragma instantiate auto_ptr<ACE_Select_Reactor>
+#pragma instantiate ACE_Auto_Basic_Ptr<Purged_Notify>
+#pragma instantiate ACE_Auto_Basic_Ptr<ACE_Reactor>
+#pragma instantiate ACE_Auto_Basic_Ptr<ACE_Select_Reactor>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */