diff options
Diffstat (limited to 'TAO/tao/InconsistentTypeCodeC.cpp')
-rw-r--r-- | TAO/tao/InconsistentTypeCodeC.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/TAO/tao/InconsistentTypeCodeC.cpp b/TAO/tao/InconsistentTypeCodeC.cpp index 3480fea7a0b..a876b606ba3 100644 --- a/TAO/tao/InconsistentTypeCodeC.cpp +++ b/TAO/tao/InconsistentTypeCodeC.cpp @@ -80,13 +80,7 @@ void CORBA_ORB_InconsistentTypeCode::_raise () // TAO extension - the _alloc method CORBA::Exception *CORBA_ORB_InconsistentTypeCode::_alloc (void) { - CORBA::Exception *retval = 0; - - ACE_NEW_RETURN (retval, - CORBA_ORB_InconsistentTypeCode, - 0); - - return retval; + return new CORBA_ORB_InconsistentTypeCode; } #endif /* TAO_HAS_MINIMUM_CORBA */ |