diff options
-rw-r--r-- | TAO/ChangeLog | 9 | ||||
-rw-r--r-- | TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp | 10 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/Notify_Service.cpp | 2 |
3 files changed, 20 insertions, 1 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 18c645b234f..66a3656a435 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,12 @@ +Mon Nov 04 11:10:14 2002 Pradeep Gore <pradeep@oomworks.com> + + * orbsvcs/orbsvcs/Notify/Notify_Service.cpp: + in method <init_main_thread> change argument to + ACE_ENV_ARG_DECL_NOT_USED. + + * orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp: + Added code for explicit template instantiation. + Mon Nov 04 10:47:41 2002 Pradeep Gore <pradeep@oomworks.com> * orbsvcs/orbsvcs/Notify/ETCL_FilterFactory.cpp: diff --git a/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp b/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp index 183fa36e9da..2483d2b98b3 100644 --- a/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp +++ b/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp @@ -190,3 +190,13 @@ Notify_Logging_Service::shutdown (ACE_ENV_SINGLE_ARG_DECL) /*****************************************************************/ + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + +template class ACE_Dynamic_Service<TAO_NS_Service>; + +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) + +#pragma instantiate ACE_Dynamic_Service<TAO_NS_Service> + +#endif /*ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_Service.cpp b/TAO/orbsvcs/orbsvcs/Notify/Notify_Service.cpp index 0822f72b265..f67acdbc4f2 100644 --- a/TAO/orbsvcs/orbsvcs/Notify/Notify_Service.cpp +++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_Service.cpp @@ -128,7 +128,7 @@ TAO_NS_Notify_Service::init_i (CORBA::ORB_ptr orb ACE_ENV_ARG_DECL) } void -TAO_NS_Notify_Service::init_main_thread (CORBA::ORB_ptr orb ACE_ENV_ARG_DECL) +TAO_NS_Notify_Service::init_main_thread (CORBA::ORB_ptr orb ACE_ENV_ARG_DECL_NOT_USED) { ACE_Sched_Params::Policy sched_policy; long thr_sched_policy = orb->orb_core ()->orb_params ()->sched_policy (); |