projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a bugs in guarded_ptr and exempt_ptr
[libcds.git]
/
cds
/
gc
/
impl
/
hp_decl.h
diff --git
a/cds/gc/impl/hp_decl.h
b/cds/gc/impl/hp_decl.h
index bffc52687ad8139178050d7d72aee4dc9b13dbff..cd9b1c2b406352028432e1d3b179e66f936873bf 100644
(file)
--- a/
cds/gc/impl/hp_decl.h
+++ b/
cds/gc/impl/hp_decl.h
@@
-533,8
+533,7
@@
namespace cds { namespace gc {
*/
void release() CDS_NOEXCEPT
{
- if ( m_pGuard )
- m_pGuard->clear();
+ free_guard();
}
//@cond