summaryrefslogtreecommitdiff
path: root/TAO/tests/Two_Objects/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Two_Objects/server.cpp')
-rw-r--r--TAO/tests/Two_Objects/server.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/TAO/tests/Two_Objects/server.cpp b/TAO/tests/Two_Objects/server.cpp
index 23a045d0a49..47bcb722c40 100644
--- a/TAO/tests/Two_Objects/server.cpp
+++ b/TAO/tests/Two_Objects/server.cpp
@@ -58,10 +58,7 @@ parse_args (int argc, char *argv[])
int
main (int argc, char *argv[])
{
- TAO_ENV_DECLARE_NEW_ENV
-
- // @@ Comments in lcient.cpp apply here..
- ACE_TRY
+ ACE_TRY_NEW_ENV
{
// Initialize the ORB
CORBA::ORB_var orb =