diff options
Diffstat (limited to 'TAO/examples/RTCORBA/Activity/Activity.cpp')
-rw-r--r-- | TAO/examples/RTCORBA/Activity/Activity.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/examples/RTCORBA/Activity/Activity.cpp b/TAO/examples/RTCORBA/Activity/Activity.cpp index 67ebca5e150..89ff0aa17e5 100644 --- a/TAO/examples/RTCORBA/Activity/Activity.cpp +++ b/TAO/examples/RTCORBA/Activity/Activity.cpp @@ -401,6 +401,5 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) return rc; } -#if defined (ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION) -template ACE_Singleton<Activity, ACE_Null_Mutex> *ACE_Singleton<Activity, ACE_Null_Mutex>::singleton_; -#endif /* ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION */ +ACE_SINGLETON_TEMPLATE_INSTANTIATE(ACE_Singleton, Activity, ACE_Null_Mutex); + |