From 6c9becb9d6b836bf6ce0f873a56b6cafd11c18c6 Mon Sep 17 00:00:00 2001 From: khizmax Date: Mon, 24 Apr 2017 00:35:07 +0300 Subject: [PATCH] Removed odd assert --- cds/urcu/details/sh.h | 1 - 1 file changed, 1 deletion(-) diff --git a/cds/urcu/details/sh.h b/cds/urcu/details/sh.h index fd37602d..8d0969f2 100644 --- a/cds/urcu/details/sh.h +++ b/cds/urcu/details/sh.h @@ -69,7 +69,6 @@ namespace cds { namespace urcu { namespace details { assert( pRec != nullptr ); uint32_t tmp = pRec->m_nAccessControl.load( atomics::memory_order_relaxed ); - assert( ( tmp & rcu_class::c_nNestMask ) > 0 ); if ( (tmp & rcu_class::c_nNestMask) == 0 ) { pRec->m_nAccessControl.store( sh_singleton::instance()->global_control_word(atomics::memory_order_relaxed), -- 2.34.1