Replace NULL with nullptr
[libcds.git] / tests / unit / alloc / linux_scale.cpp
index a09d5a918337089412ec25c15fa647cafab6b6dd..bf05807b2f8865b0abc1e1c859f84eb8f44b5359 100644 (file)
@@ -57,8 +57,8 @@ namespace memory {
             virtual void test()
             {
                 for ( size_t i = 0; i < s_nPassPerThread; ++i ) {
-                    typename ALLOC::value_type * p = m_Alloc.allocate( m_nSize / sizeof(typename ALLOC::value_type), NULL );
-                    CPPUNIT_ASSERT( p != NULL );
+                    typename ALLOC::value_type * p = m_Alloc.allocate( m_nSize / sizeof( typename ALLOC::value_type ), nullptr );
+                    CPPUNIT_ASSERT( p != nullptr );
                     if ( m_nSize < 32 )
                         memset( p, 0, m_nSize );
                     else {