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
/
intrusive
/
msqueue.h
diff --git
a/cds/intrusive/msqueue.h
b/cds/intrusive/msqueue.h
index 98d8a64e82f6f91574d65bb37d5af06d055956fa..0313390559b6f524aa60874e939227b133ab7ea7 100644
(file)
--- a/
cds/intrusive/msqueue.h
+++ b/
cds/intrusive/msqueue.h
@@
-584,7
+584,7
@@
namespace cds { namespace intrusive {
bool empty() const
{
typename gc::Guard guard;
bool empty() const
{
typename gc::Guard guard;
- node_type * p = guard.protect( m_pHead, []( node_type * p
) -> value_type * { return node_traits::to_value_ptr( p
);});
+ node_type * p = guard.protect( m_pHead, []( node_type * p
Node ) -> value_type * { return node_traits::to_value_ptr( pNode
);});
return p->m_pNext.load( memory_model::memory_order_relaxed ) == nullptr;
}
return p->m_pNext.load( memory_model::memory_order_relaxed ) == nullptr;
}