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
/
dhp_decl.h
diff --git
a/cds/gc/impl/dhp_decl.h
b/cds/gc/impl/dhp_decl.h
index 6da2073a658364a0661988b6929052101d157a63..e07b196c3c62b3121dee47849a2af76cb25e7951 100644
(file)
--- a/
cds/gc/impl/dhp_decl.h
+++ b/
cds/gc/impl/dhp_decl.h
@@
-529,8
+529,7
@@
namespace cds { namespace gc {
*/
void release() CDS_NOEXCEPT
{
- if ( m_guard.is_initialized() )
- m_guard.clear();
+ free_guard();
}
//@cond