From c1d49d9c07e8bd0998a742651f238e4c3b0f748f Mon Sep 17 00:00:00 2001 From: bala Date: Sat, 20 Jul 2002 14:09:17 +0000 Subject: ChangeLogTag: Sat Jul 20 09:08:17 2002 Balachandran Natarajan --- TAO/ChangeLog | 5 +++++ .../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 + + * tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp: Fixed a + unused variable warning. + Fri Jul 19 23:44:29 2002 Balachandran Natarajan * 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 | -- cgit v1.2.1