summaryrefslogtreecommitdiff
path: root/TAO/examples/RTScheduling/MIF_Scheduler/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/RTScheduling/MIF_Scheduler/test.cpp')
-rw-r--r--TAO/examples/RTScheduling/MIF_Scheduler/test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/examples/RTScheduling/MIF_Scheduler/test.cpp b/TAO/examples/RTScheduling/MIF_Scheduler/test.cpp
index c8ca9947be4..a3ea1235e52 100644
--- a/TAO/examples/RTScheduling/MIF_Scheduler/test.cpp
+++ b/TAO/examples/RTScheduling/MIF_Scheduler/test.cpp
@@ -188,4 +188,8 @@ template class ACE_Singleton<DT_Test, TAO_SYNCH_MUTEX>;
#pragma instantiate ACE_Singleton<DT_Test, TAO_SYNCH_MUTEX>
+#elif defined (ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION)
+
+template ACE_Singleton<DT_Test, ACE_Thread_Mutex> *ACE_Singleton<DT_Test, ACE_Thread_Mutex>::singleton_;
+
#endif /*ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */