diff options
Diffstat (limited to 'TAO/tao/UIOP_Profile.i')
-rw-r--r-- | TAO/tao/UIOP_Profile.i | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/TAO/tao/UIOP_Profile.i b/TAO/tao/UIOP_Profile.i index a8b9ed61ec6..bf95d516c95 100644 --- a/TAO/tao/UIOP_Profile.i +++ b/TAO/tao/UIOP_Profile.i @@ -19,13 +19,7 @@ TAO_UIOP_Profile::object_key (TAO_ObjectKey& objkey) ACE_INLINE TAO_ObjectKey * TAO_UIOP_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_UNIX_Addr& |