Fixed -Wshadow warnings
[libcds.git] / cds / container / impl / skip_list_set.h
index ab075e9702448206e2d2264b320852ec485df84b..7901f7d0a8f9f02714ab7751a423ce422cb9b384 100644 (file)
@@ -313,7 +313,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;
             }