replace null_ptr<>() with nullptr
[libcds.git] / cds / container / ellen_bintree_map_rcu.h
index 6634814f10626075a22ae4a26c56a6b893ef4db7..42aa769db63c69aa927bc333041eeab0abafe8b5 100644 (file)
@@ -642,7 +642,7 @@ namespace cds { namespace container {
         value_type * get( Q const& key ) const
         {
             leaf_node * pNode = base_class::get( key );
         value_type * get( Q const& key ) const
         {
             leaf_node * pNode = base_class::get( key );
-            return pNode ? &pNode->m_Value : null_ptr<value_type *>();
+            return pNode ? &pNode->m_Value : nullptr;
         }
 
         /// Finds \p key with \p pred predicate and return the item found
         }
 
         /// Finds \p key with \p pred predicate and return the item found
@@ -659,7 +659,7 @@ namespace cds { namespace container {
         {
             leaf_node * pNode = base_class::get_with( key,
                 cds::details::predicate_wrapper< leaf_node, Less, typename maker::key_accessor >());
         {
             leaf_node * pNode = base_class::get_with( key,
                 cds::details::predicate_wrapper< leaf_node, Less, typename maker::key_accessor >());
-            return pNode ? &pNode->m_Value : null_ptr<value_type *>();
+            return pNode ? &pNode->m_Value : nullptr;
         }
 
         /// Clears the map
         }
 
         /// Clears the map