summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-07 14:19:58 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-07 14:19:58 +0000
commit23a476caf01bffd91901be23b0dd3023cbbbf8e9 (patch)
treedbe1af66ac6c12cbd87d5e9ba33e6b38f2311780
parent1a0da16a7e54ebb4e0d4f44e9829fc7f2c26c028 (diff)
downloadATCD-23a476caf01bffd91901be23b0dd3023cbbbf8e9.tar.gz
.
-rw-r--r--TAO/tao/try_macros.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/tao/try_macros.h b/TAO/tao/try_macros.h
index 45f0e465891..4e79b1ed7f3 100644
--- a/TAO/tao/try_macros.h
+++ b/TAO/tao/try_macros.h
@@ -45,7 +45,9 @@ ACE_UNUSED_ARG (VAR);
#define TAO_THROW(EXCEPTION) throw EXCEPTION
#define TAO_THROW_ENV(EXCEPTION, ENV) throw EXCEPTION
#define TAO_THROW_RETURN(EXCEPTION, RETURN) throw EXCEPTION
-#define TAO_THROW_ENV_RETURN(EXCEPTION, ENV, RETURN) throw EXCEPTION
+#define TAO_THROW_ENV_RETURN(EXCEPTION, ENV, RETURN) do { \
+ throw EXCEPTION; \
+ return RETURN; } while (0)
#define TAO_RETHROW throw
#define TAO_RETHROW_RETURN(RETURN) throw