X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=blobdiff_plain;f=cds%2Fcontainer%2Fellen_bintree_map_rcu.h;h=42aa769db63c69aa927bc333041eeab0abafe8b5;hp=6634814f10626075a22ae4a26c56a6b893ef4db7;hb=98aa954aa9d1b640f6f6d81018542eec1c2046bb;hpb=5c0c4501b3991ad3ef71f7c4249e00fb5f74010b diff --git a/cds/container/ellen_bintree_map_rcu.h b/cds/container/ellen_bintree_map_rcu.h index 6634814f..42aa769d 100644 --- a/cds/container/ellen_bintree_map_rcu.h +++ b/cds/container/ellen_bintree_map_rcu.h @@ -642,7 +642,7 @@ namespace cds { namespace container { value_type * get( Q const& key ) const { leaf_node * pNode = base_class::get( key ); - return pNode ? &pNode->m_Value : null_ptr(); + return pNode ? &pNode->m_Value : nullptr; } /// 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 >()); - return pNode ? &pNode->m_Value : null_ptr(); + return pNode ? &pNode->m_Value : nullptr; } /// Clears the map