summaryrefslogtreecommitdiff
path: root/TAO/tests/NestedUpcall/Simple/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/NestedUpcall/Simple/server.cpp')
-rw-r--r--TAO/tests/NestedUpcall/Simple/server.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/TAO/tests/NestedUpcall/Simple/server.cpp b/TAO/tests/NestedUpcall/Simple/server.cpp
index 2b9450234cc..e35959b5a43 100644
--- a/TAO/tests/NestedUpcall/Simple/server.cpp
+++ b/TAO/tests/NestedUpcall/Simple/server.cpp
@@ -33,18 +33,7 @@ Server_Task::Server_Task (CORBA::ORB_ptr orb)
int
Server_Task::svc (void)
{
- ACE_DECLARE_NEW_CORBA_ENV;
- ACE_TRY
- {
- this->orb_->run (ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCHANY
- {
- return -1;
- }
- ACE_ENDTRY;
- return 0;
+ return this->orb_->run ();
}
static int