Fixed -Wshadow warnings
[libcds.git] / cds / container / skip_list_set_rcu.h
index daf05f2b0c99bc89f60e13dbcbb33ac152f75e86..b34ccba1965d47b8daa747c731a58c0f4afd71cb 100644 (file)
@@ -358,7 +358,7 @@ namespace cds { namespace container {
         bool insert( Q const& val, Func f )
         {
             scoped_node_ptr sp( node_allocator().New( random_level(), val ));
-            if ( base_class::insert( *sp.get(), [&f]( node_type& val ) { f( val.m_Value ); } )) {
+            if ( base_class::insert( *sp.get(), [&f]( node_type& v ) { f( v.m_Value ); } )) {
                 sp.release();
                 return true;
             }