Fixed -Wshadow warnings
[libcds.git] / test / unit / striped-set / test_striped_set.h
index 1e7dec47b99cd8b40ae178d9c3058188361c6bba..338ebcdc76937f7eade5d6b4250d97cdbfa2f0dc 100644 (file)
@@ -72,8 +72,8 @@ namespace {
         template <typename Func>
         bool operator()( Set& s, int key, Func f ) const
         {
-            return s.find( key, [&f]( typename Set::value_type& v, int key ) {
-                cds_test::container_set::other_item oi( key );
+            return s.find( key, [&f]( typename Set::value_type& v, int k ) {
+                cds_test::container_set::other_item oi( k );
                 f( v, oi );
             });
         }