replace null_ptr<>() with nullptr
[libcds.git] / cds / intrusive / striped_set / boost_list.h
index c5744b728352adb39c1909391eba384509b96719..bea6d96b86488157ca30e2dd43080f63a7972a16 100644 (file)
@@ -124,7 +124,7 @@ namespace cds { namespace intrusive { namespace striped_set {
             {
                 iterator it = find_key( key, find_predicate() );
                 if ( it == m_List.end() || key_comparator()( key, *it ) != 0 )
-                    return null_ptr<value_type *>();
+                    return nullptr;
 
                 // key exists
                 value_type& val = *it;
@@ -139,7 +139,7 @@ namespace cds { namespace intrusive { namespace striped_set {
             {
                 iterator it = find_key( key, pred );
                 if ( it == m_List.end() || pred( key, *it ) || pred( *it, key ) )
-                    return null_ptr<value_type *>();
+                    return nullptr;
 
                 // key exists
                 value_type& val = *it;