projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed -Wshadow warnings
[libcds.git]
/
test
/
unit
/
striped-set
/
test_striped_set.h
diff --git
a/test/unit/striped-set/test_striped_set.h
b/test/unit/striped-set/test_striped_set.h
index 1e7dec47b99cd8b40ae178d9c3058188361c6bba..338ebcdc76937f7eade5d6b4250d97cdbfa2f0dc 100644
(file)
--- a/
test/unit/striped-set/test_striped_set.h
+++ b/
test/unit/striped-set/test_striped_set.h
@@
-72,8
+72,8
@@
namespace {
template <typename Func>
bool operator()( Set& s, int key, Func f ) const
{
template <typename Func>
bool operator()( Set& s, int key, Func f ) const
{
- return s.find( key, [&f]( typename Set::value_type& v, int k
ey
) {
- cds_test::container_set::other_item oi( k
ey
);
+ return s.find( key, [&f]( typename Set::value_type& v, int k ) {
+ cds_test::container_set::other_item oi( k );
f( v, oi );
});
}
f( v, oi );
});
}