summaryrefslogtreecommitdiff
path: root/TAO/examples/Callback_Quoter/notifier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Callback_Quoter/notifier.cpp')
-rw-r--r--TAO/examples/Callback_Quoter/notifier.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/examples/Callback_Quoter/notifier.cpp b/TAO/examples/Callback_Quoter/notifier.cpp
index 7e2fb150aac..9dd2ef2bc81 100644
--- a/TAO/examples/Callback_Quoter/notifier.cpp
+++ b/TAO/examples/Callback_Quoter/notifier.cpp
@@ -13,9 +13,7 @@ main (int argc, char *argv[])
ACE_DEBUG ((LM_DEBUG,
"\n\tNotifier\n\n"));
-
- ACE_DECLARE_NEW_CORBA_ENV;
- ACE_TRY
+ ACE_TRY_NEW_ENV
{
if (notifier.init (argc, argv, ACE_TRY_ENV) == -1)
return 1;