summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs
diff options
context:
space:
mode:
authorpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-07 19:14:48 +0000
committerpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-07 19:14:48 +0000
commit2c911a3b332574ebc9925ed5ab4b202b1dae8c48 (patch)
tree35e5f434524a848c225762dd272d54e80f5bb28a /TAO/orbsvcs
parent34c7bb5c475542127a14fedca3ae735ab24403df (diff)
downloadATCD-2c911a3b332574ebc9925ed5ab4b202b1dae8c48.tar.gz
ChangeLogTag: Mon Apr 07 14:11:02 2003 Pradeep Gore <pradeep@oomworks.com>
Diffstat (limited to 'TAO/orbsvcs')
-rw-r--r--TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Supplier.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Supplier.cpp b/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Supplier.cpp
index 99006c301e3..7d9a03c9261 100644
--- a/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Supplier.cpp
+++ b/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Supplier.cpp
@@ -131,10 +131,8 @@ Supplier::run (void)
ACE_TRY
{
// Create an Any type to pass to the Cos EC.
- CORBA::Any cany;
- cany <<= CORBA::Long (50);
- const CORBA::Any *any;
- cany >>= any;
+ CORBA::Any any;
+ any <<= CORBA::Long (50);
this->open (this->cos_ec_
ACE_ENV_ARG_PARAMETER);
@@ -151,7 +149,7 @@ Supplier::run (void)
count != 0;
count--)
{
- this->send_event (*any
+ this->send_event (any
ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
}