summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-11-04 16:20:10 +0000
committerpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-11-04 16:20:10 +0000
commita640d7fa103602a9e5755a3c41bf8765ea23d9de (patch)
tree3b6ad83ccf75262f1ad9426215c65c6ea64e68e5
parent84c3f1df28c2b30bbef38ab641f14ee94a858021 (diff)
downloadATCD-a640d7fa103602a9e5755a3c41bf8765ea23d9de.tar.gz
ChangeLogTag:Mon Nov 04 11:10:14 2002 Pradeep Gore <pradeep@oomworks.com>
-rw-r--r--TAO/ChangeLog9
-rw-r--r--TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp10
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_Service.cpp2
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 ();