summaryrefslogtreecommitdiff
path: root/TAO/tao/SystemException.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-03-25 13:30:54 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-03-25 13:30:54 +0000
commit7d6956a2157b79c3f94d9e42b5f419c1f628a856 (patch)
treef7525c17bf8cc5ea392c689c4113e84eff2825b1 /TAO/tao/SystemException.cpp
parentdad1bea76488e05ab872482a58f529b880b0d822 (diff)
downloadATCD-7d6956a2157b79c3f94d9e42b5f419c1f628a856.tar.gz
ChangeLogTag:Fri Mar 25 05:24:03 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/SystemException.cpp')
-rw-r--r--TAO/tao/SystemException.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/TAO/tao/SystemException.cpp b/TAO/tao/SystemException.cpp
index 85ee1231b57..44cb9836e29 100644
--- a/TAO/tao/SystemException.cpp
+++ b/TAO/tao/SystemException.cpp
@@ -4,9 +4,9 @@
#include "Environment.h"
#include "Any_SystemException.h"
#include "Any_Dual_Impl_T.h"
-#include "Typecode.h"
+#include "TypeCode.h"
#include "ORB_Constants.h"
-#include "TC_Constants_Forward.h"
+#include "TypeCode_Constants.h"
#include "CORBA_String.h"
#include "CDR.h"
#include "debug.h"
@@ -1145,10 +1145,9 @@ STANDARD_EXCEPTION_LIST
#define TAO_SYSTEM_EXCEPTION(name) \
void \
-CORBA::name ::_tao_any_destructor (void *x) \
+CORBA::name ::_tao_any_destructor (void * x) \
{ \
- CORBA::name *tmp = static_cast<CORBA::name *> (x); \
- delete tmp; \
+ delete static_cast<CORBA::name *> (x); \
}
STANDARD_EXCEPTION_LIST
@@ -1158,7 +1157,7 @@ STANDARD_EXCEPTION_LIST
CORBA::Exception * \
CORBA::name ::_tao_duplicate (void) const \
{ \
- CORBA::Exception *result; \
+ CORBA::Exception * result; \
ACE_NEW_RETURN (result, CORBA::name (*this), 0); \
return result; \
}