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]
/
cds
/
container
/
impl
/
ellen_bintree_set.h
diff --git
a/cds/container/impl/ellen_bintree_set.h
b/cds/container/impl/ellen_bintree_set.h
index 365e7a6a4fe00179609d185022e31719ad4582da..5f93f4647771a7d6e605b85afc1de8cc29a2de9a 100644
(file)
--- a/
cds/container/impl/ellen_bintree_set.h
+++ b/
cds/container/impl/ellen_bintree_set.h
@@
-227,7
+227,7
@@
namespace cds { namespace container {
bool insert( Q const& val, Func f )
{
scoped_node_ptr sp( cxx_leaf_node_allocator().New( val ));
bool insert( Q const& val, Func f )
{
scoped_node_ptr sp( cxx_leaf_node_allocator().New( val ));
- if ( base_class::insert( *sp.get(), [&f]( leaf_node& v
al ) { f( val
.m_Value ); } )) {
+ if ( base_class::insert( *sp.get(), [&f]( leaf_node& v
) { f( v
.m_Value ); } )) {
sp.release();
return true;
}
sp.release();
return true;
}