summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjones_s <jones_s@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-09 18:45:25 +0000
committerjones_s <jones_s@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-09 18:45:25 +0000
commitec9ea0f606710d9650816bc73685a7d52d7571d3 (patch)
treede95dd619dcc6e09cede638d62b0ea01d422a0b4
parent638fafc9f3dfc7b49928553d7d8adc771b0a052b (diff)
downloadATCD-ec9ea0f606710d9650816bc73685a7d52d7571d3.tar.gz
Added fix for DOC bug# 1487
-rw-r--r--TAO/tao/Messaging/Messaging.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/tao/Messaging/Messaging.cpp b/TAO/tao/Messaging/Messaging.cpp
index 92e4a41a2f8..21605157aaf 100644
--- a/TAO/tao/Messaging/Messaging.cpp
+++ b/TAO/tao/Messaging/Messaging.cpp
@@ -4,6 +4,7 @@
#include "Messaging.h"
#include "Messaging_ORBInitializer.h"
+#include "ace/Auto_Ptr.h"
#include "tao/Stub.h"
#include "tao/debug.h"
@@ -109,6 +110,9 @@ exception_holder_raise (TAO_Exception_Data *exception_data,
exception->completed (CORBA::CompletionStatus (completion));
// Raise the exception.
+#if defined (TAO_HAS_EXCEPTIONS)
+ ACE_Auto_Basic_Ptr<CORBA::SystemException> e_ptr(exception);
+#endif
ACE_ENV_RAISE (exception);
return;
@@ -131,6 +135,9 @@ exception_holder_raise (TAO_Exception_Data *exception_data,
ACE_CHECK;
// Raise the exception.
+#if defined (TAO_HAS_EXCEPTIONS)
+ ACE_Auto_Basic_Ptr<CORBA::Exception> e_ptr(exception);
+#endif
ACE_ENV_RAISE (exception);
return;