diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-08-24 04:08:47 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-08-24 04:08:47 +0000 |
commit | 72fdc875d1828766dc2e8ccf20f3c092d5c6aaec (patch) | |
tree | 4276242abd2fe138802027790c3b6a9cbc0daffe | |
parent | e454777851ebd3a3a33636e0d07e5a68afd83c32 (diff) | |
download | ATCD-72fdc875d1828766dc2e8ccf20f3c092d5c6aaec.tar.gz |
Minor fixes.
-rw-r--r-- | TAO/tests/RTCORBA/Linear_Priority/readers.cpp | 6 | ||||
-rw-r--r-- | TAO/tests/RTCORBA/Linear_Priority/server.cpp | 4 | ||||
-rw-r--r-- | TAO/tests/RTCORBA/Policy_Combinations/server.cpp | 2 | ||||
-rw-r--r-- | TAO/tests/RTCORBA/Thread_Pool/server.cpp | 4 | ||||
-rw-r--r-- | TAO/tests/RTCORBA/Thread_Pool/test_i.cpp | 4 |
5 files changed, 12 insertions, 8 deletions
diff --git a/TAO/tests/RTCORBA/Linear_Priority/readers.cpp b/TAO/tests/RTCORBA/Linear_Priority/readers.cpp index a1f5fd719ac..44d8c7baeef 100644 --- a/TAO/tests/RTCORBA/Linear_Priority/readers.cpp +++ b/TAO/tests/RTCORBA/Linear_Priority/readers.cpp @@ -221,3 +221,9 @@ get_priority_lanes (const char *test_type, return 0; } + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) +template class ACE_Array_Base<CORBA::Short>; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +#pragma instantiate ACE_Array_Base<CORBA::Short> +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/tests/RTCORBA/Linear_Priority/server.cpp b/TAO/tests/RTCORBA/Linear_Priority/server.cpp index 4c6440a1898..d727b31b606 100644 --- a/TAO/tests/RTCORBA/Linear_Priority/server.cpp +++ b/TAO/tests/RTCORBA/Linear_Priority/server.cpp @@ -36,7 +36,7 @@ test_i::test_i (CORBA::ORB_ptr orb, } void -test_i::method (CORBA::Environment &ACE_TRY_ENV) +test_i::method (CORBA::Environment &) ACE_THROW_SPEC ((CORBA::SystemException)) { ACE_DEBUG ((LM_DEBUG, @@ -61,8 +61,6 @@ test_i::_default_POA (CORBA_Environment &) return PortableServer::POA::_duplicate (this->poa_.in ()); } -static CORBA::Short server_priority = 2; -static CORBA::Short client_priority = 6; static CORBA::ULong stacksize = 0; static CORBA::ULong static_threads = 2; static CORBA::ULong dynamic_threads = 2; diff --git a/TAO/tests/RTCORBA/Policy_Combinations/server.cpp b/TAO/tests/RTCORBA/Policy_Combinations/server.cpp index fed8e6dddfb..86810da95cb 100644 --- a/TAO/tests/RTCORBA/Policy_Combinations/server.cpp +++ b/TAO/tests/RTCORBA/Policy_Combinations/server.cpp @@ -46,7 +46,7 @@ test_i::test_i (CORBA::ORB_ptr orb, } CORBA::Short -test_i::method (CORBA::Environment &ACE_TRY_ENV) +test_i::method (CORBA::Environment &) ACE_THROW_SPEC ((CORBA::SystemException)) { ACE_DEBUG ((LM_DEBUG, diff --git a/TAO/tests/RTCORBA/Thread_Pool/server.cpp b/TAO/tests/RTCORBA/Thread_Pool/server.cpp index 91eeeecac7b..1c9a875dd22 100644 --- a/TAO/tests/RTCORBA/Thread_Pool/server.cpp +++ b/TAO/tests/RTCORBA/Thread_Pool/server.cpp @@ -275,7 +275,7 @@ main (int argc, char *argv[]) ACE_TRY_CHECK; result = - create_POA_and_register_servant (threadpool_policy_1, + create_POA_and_register_servant (threadpool_policy_1.in (), "first_poa", poa_manager.in (), root_poa.in (), @@ -287,7 +287,7 @@ main (int argc, char *argv[]) return result; result = - create_POA_and_register_servant (threadpool_policy_2, + create_POA_and_register_servant (threadpool_policy_2.in (), "second_poa", poa_manager.in (), root_poa.in (), diff --git a/TAO/tests/RTCORBA/Thread_Pool/test_i.cpp b/TAO/tests/RTCORBA/Thread_Pool/test_i.cpp index 008edd1c767..034d6e6ef25 100644 --- a/TAO/tests/RTCORBA/Thread_Pool/test_i.cpp +++ b/TAO/tests/RTCORBA/Thread_Pool/test_i.cpp @@ -19,7 +19,7 @@ test_i::test_i (CORBA::ORB_ptr orb, CORBA::Long test_i::method (CORBA::Long client_id, CORBA::Long iteration, - CORBA::Environment &ACE_TRY_ENV) + CORBA::Environment &) ACE_THROW_SPEC ((CORBA::SystemException)) { // Get the ORB_Core's TSS resources. @@ -49,7 +49,7 @@ test_i::method (CORBA::Long client_id, } PortableServer::POA_ptr -test_i::_default_POA (CORBA_Environment &ACE_TRY_ENV) +test_i::_default_POA (CORBA_Environment &) { return PortableServer::POA::_duplicate (this->poa_.in ()); } |