summaryrefslogtreecommitdiff
path: root/TAO/tao/try_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/try_macros.h')
-rw-r--r--TAO/tao/try_macros.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/TAO/tao/try_macros.h b/TAO/tao/try_macros.h
index 9b4c326528c..9da7408f0d1 100644
--- a/TAO/tao/try_macros.h
+++ b/TAO/tao/try_macros.h
@@ -186,10 +186,7 @@ if (TAO_TRY_ENV.exception () != 0 && \
TYPE &VAR = *TYPE::_narrow (TAO_TRY_ENV.exception ()); \
ACE_UNUSED_ARG (VAR);
-#define TAO_CATCHALL \
-} while (0); \
-do { \
-continue;
+#define TAO_CATCHALL TAO_CATCH(CORBA_Exception, ex)
// The first "while" closes the local scope. The second "while"
// closes the TAO_TRY_ENV scope.