diff options
-rw-r--r-- | TAO/ChangeLog | 5 | ||||
-rw-r--r-- | TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp | 16 |
2 files changed, 14 insertions, 7 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 5ed9baefaed..81d5057ac50 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,8 @@ +Sat Jul 20 09:08:17 2002 Balachandran Natarajan <bala@cs.wustl.edu> + + * tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp: Fixed a + unused variable warning. + Fri Jul 19 23:44:29 2002 Balachandran Natarajan <bala@cs.wustl.edu> * tests/RTCORBA/common_args.cpp: diff --git a/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp b/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp index 9d66f688430..85bc57cf0cd 100644 --- a/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp +++ b/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp @@ -268,18 +268,20 @@ Client::priority_invocations (int debug Worker_Thread **workers = 0; - ACE_NEW (workers, - Worker_Thread *[priorities.size ()]); + ACE_NEW_THROW_EX (workers, + Worker_Thread *[priorities.size ()], + CORBA::NO_MEMORY ()); for (i = 0; i < priorities.size (); ++i) { - ACE_NEW (workers[i], - Worker_Thread (*this, - this->test_.in (), - this->current_.in (), - priorities[i])); + ACE_NEW_THROW_EX (workers[i], + Worker_Thread (*this, + this->test_.in (), + this->current_.in (), + priorities[i]), + CORBA::NO_MEMORY ()); long flags = THR_NEW_LWP | |