From 9a49390b169d1d7a9dab63ee38fb74cfd3bd2a07 Mon Sep 17 00:00:00 2001 From: pradeep Date: Thu, 10 Feb 2000 04:09:44 +0000 Subject: Wed Feb 9 22:07:44 2000 Pradeep Gore --- .../Notify/Notify_EventChannelFactory_i.cpp | 25 ++++++++++++++++++++++ .../orbsvcs/Notify/Notify_EventChannel_i.cpp | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) (limited to 'TAO/orbsvcs') diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannelFactory_i.cpp b/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannelFactory_i.cpp index eb55e19454b..d547d050c88 100644 --- a/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannelFactory_i.cpp +++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannelFactory_i.cpp @@ -121,3 +121,28 @@ TAO_Notify_EventChannelFactory_i::get_event_channel (CosNotifyChannelAdmin::Chan return ec->get_ref (ACE_TRY_ENV); } + + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + +template class ACE_Hash_Map_Entry; +template class ACE_Hash_Map_Manager; +template class ACE_Hash_Map_Manager_Ex, ACE_Equal_To,ACE_SYNCH_MUTEX>; +template class ACE_Hash_Map_Iterator; +template class ACE_Hash_Map_Iterator_Ex, ACE_Equal_To,ACE_SYNCH_MUTEX>; +template class ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To,ACE_SYNCH_MUTEX>; +template class ACE_Hash_Map_Reverse_Iterator; +template class ACE_Hash_Map_Reverse_Iterator_Ex, ACE_Equal_To,ACE_SYNCH_MUTEX>; + +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) + +#pragma instantiate ACE_Hash_Map_Entry +#pragma instantiate ACE_Hash_Map_Manager +#pragma instantiate ACE_Hash_Map_Manager_Ex, ACE_Equal_To,ACE_SYNCH_MUTEX> +#pragma instantiate ACE_Hash_Map_Iterator +#pragma instantiate ACE_Hash_Map_Iterator_Ex, ACE_Equal_To,ACE_SYNCH_MUTEX> +#pragma instantiate ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To,ACE_SYNCH_MUTEX> +#pragma instantiate ACE_Hash_Map_Reverse_Iterator +#pragma instantiate ACE_Hash_Map_Reverse_Iterator_Ex, ACE_Equal_To,ACE_SYNCH_MUTEX> + +#endif /*ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannel_i.cpp b/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannel_i.cpp index 3f668db4817..f71f3d1fd4a 100644 --- a/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannel_i.cpp +++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannel_i.cpp @@ -85,7 +85,7 @@ TAO_Notify_EventChannel_i::MyFactory (CORBA::Environment &ACE_TRY_ENV) } CosNotifyChannelAdmin::ConsumerAdmin_ptr -TAO_Notify_EventChannel_i::default_consumer_admin (CORBA::Environment& ACE_TRY_ENV) +TAO_Notify_EventChannel_i::default_consumer_admin (CORBA::Environment& /*ACE_TRY_ENV*/) ACE_THROW_SPEC ((CORBA::SystemException )) { -- cgit v1.2.1