summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2002-07-20 14:09:17 +0000
committerbala <balanatarajan@users.noreply.github.com>2002-07-20 14:09:17 +0000
commitc1d49d9c07e8bd0998a742651f238e4c3b0f748f (patch)
tree7e85ab4fbb9660e5bd6c875a1e1f9eb868b90447
parentbd3f53c299fbbf08bfdff14fab048fb2c89bf28f (diff)
downloadATCD-c1d49d9c07e8bd0998a742651f238e4c3b0f748f.tar.gz
ChangeLogTag: Sat Jul 20 09:08:17 2002 Balachandran Natarajan <bala@cs.wustl.edu>
-rw-r--r--TAO/ChangeLog5
-rw-r--r--TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp16
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 |