diff options
Diffstat (limited to 'TAO/tao/IIOP_Profile.i')
-rw-r--r-- | TAO/tao/IIOP_Profile.i | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/TAO/tao/IIOP_Profile.i b/TAO/tao/IIOP_Profile.i index 498a933e678..805a6faf961 100644 --- a/TAO/tao/IIOP_Profile.i +++ b/TAO/tao/IIOP_Profile.i @@ -17,13 +17,7 @@ TAO_IIOP_Profile::object_key (TAO_ObjectKey& objkey) ACE_INLINE TAO_ObjectKey * TAO_IIOP_Profile::_key (void) const { - TAO_ObjectKey *key = 0; - - ACE_NEW_RETURN (key, - TAO_ObjectKey (this->object_key_), - 0); - - return key; + return new TAO_ObjectKey (this->object_key_); } ACE_INLINE const ACE_INET_Addr& |