summaryrefslogtreecommitdiff
path: root/TAO/examples/Simulator
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-02-13 17:24:35 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-02-13 17:24:35 +0000
commit1dc594b9b47a05ae1ded34d8c52e439ad8c5dd45 (patch)
tree079a1934623c4682eb382c1cdb3c96e95eee58ac /TAO/examples/Simulator
parentc8a080c33e551f7da01b285ea4032f3204f6f279 (diff)
downloadATCD-1dc594b9b47a05ae1ded34d8c52e439ad8c5dd45.tar.gz
ChangeLogTag:Tue Feb 13 09:17:30 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/examples/Simulator')
-rw-r--r--TAO/examples/Simulator/Event_Supplier/Event_Con.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp b/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp
index f2fd6988de3..14766b7a4ea 100644
--- a/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp
+++ b/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp
@@ -357,11 +357,7 @@ main (int argc, char *argv [])
// Run the ORB
- if (orb->run () == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "CORBA::ORB::run"),
- -1);
+ orb->run (ACE_TRY_ENV);
ACE_TRY_CHECK;
delete demo_consumer;