diff options
Diffstat (limited to 'TAO/tao/RTCORBA/RT_ProtocolPropertiesC.h')
-rw-r--r-- | TAO/tao/RTCORBA/RT_ProtocolPropertiesC.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/RTCORBA/RT_ProtocolPropertiesC.h b/TAO/tao/RTCORBA/RT_ProtocolPropertiesC.h index aeea492acd3..d45c28b2535 100644 --- a/TAO/tao/RTCORBA/RT_ProtocolPropertiesC.h +++ b/TAO/tao/RTCORBA/RT_ProtocolPropertiesC.h @@ -98,9 +98,9 @@ namespace RTCORBA static ProtocolProperties_ptr _narrow (::CORBA::Object_ptr obj); static ProtocolProperties_ptr _unchecked_narrow (::CORBA::Object_ptr obj); - static ProtocolProperties_ptr _nil (void) + static ProtocolProperties_ptr _nil () { - return static_cast<ProtocolProperties_ptr> (0); + return nullptr; } static void _tao_any_destructor (void *); |