{
Any::Any()
-: mContainer( NULL )
+: mContainer( nullptr )
{
}
{
// Call the implementation deletion function, which will invalidate mContainer
- if ( NULL != mContainer )
+ if ( nullptr != mContainer )
{
mContainer->mDeleteFunc( mContainer );
- mContainer = NULL;
+ mContainer = nullptr;
}
}
{
if( &any != this )
{
- if( NULL == any.mContainer )
+ if( nullptr == any.mContainer )
{
delete mContainer;
- mContainer = NULL;
+ mContainer = nullptr;
}
else
{
AnyContainerBase* tmp = mContainer;
- if( NULL != mContainer )
+ if( nullptr != mContainer )
{
// Check if two Any types have the same type. Avoids assignments of values with different types.
if( mContainer->GetType() != any.GetType() )