From a640d7fa103602a9e5755a3c41bf8765ea23d9de Mon Sep 17 00:00:00 2001 From: pradeep Date: Mon, 4 Nov 2002 16:20:10 +0000 Subject: ChangeLogTag:Mon Nov 04 11:10:14 2002 Pradeep Gore --- TAO/ChangeLog | 9 +++++++++ .../Notify_Logging_Service/Notify_Logging_Service.cpp | 10 ++++++++++ TAO/orbsvcs/orbsvcs/Notify/Notify_Service.cpp | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) 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 + + * orbsvcs/orbsvcs/Notify/Notify_Service.cpp: + in method 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 * 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; + +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) + +#pragma instantiate ACE_Dynamic_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 (); -- cgit v1.2.1