{
rcu_lock l;
pVal = s.get( nKey );
- CPPUNIT_ASSERT( pVal != NULL );
+ CPPUNIT_ASSERT( pVal != nullptr );
CPPUNIT_CHECK( pVal->nKey == nKey );
CPPUNIT_CHECK( pVal->nVal == nKey * 2 );
}
{
rcu_lock l;
- CPPUNIT_CHECK( s.get( nKey ) == NULL );
+ CPPUNIT_CHECK( s.get( nKey ) == nullptr );
}
CPPUNIT_CHECK( !s.extract( ep, nKey ));
}
{
rcu_lock l;
pVal = s.get_with( wrapped_item(nKey), wrapped_less() );
- CPPUNIT_ASSERT( pVal != NULL );
+ CPPUNIT_ASSERT( pVal != nullptr );
CPPUNIT_CHECK( pVal->nKey == nKey );
CPPUNIT_CHECK( pVal->nVal == nKey );
}
{
rcu_lock l;
- CPPUNIT_CHECK( s.get_with( wrapped_item(nKey), wrapped_less() ) == NULL );
+ CPPUNIT_CHECK( s.get_with( wrapped_item( nKey ), wrapped_less() ) == nullptr );
}
CPPUNIT_CHECK( !s.extract_with( ep, wrapped_item(nKey), wrapped_less() ));
}
CPPUNIT_CHECK( !s.extract_max(ep) );
}
- CPPUNIT_MSG( PrintStat()(s, NULL) );
+ CPPUNIT_MSG( PrintStat()(s, nullptr) );
}
public: