From: khizmax Date: Tue, 22 Dec 2015 11:45:35 +0000 (+0300) Subject: Removed wrong assertion X-Git-Tag: v2.1.0~21 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6777cc22570e8a3def3a35924a172d537bfb006f;p=libcds.git Removed wrong assertion --- diff --git a/cds/intrusive/mspriority_queue.h b/cds/intrusive/mspriority_queue.h index 422bdd20..5ba498ab 100644 --- a/cds/intrusive/mspriority_queue.h +++ b/cds/intrusive/mspriority_queue.h @@ -309,8 +309,6 @@ namespace cds { namespace intrusive { std::swap( refTop.m_pVal, pVal ); refTop.m_nTag = tag_type( Available ); - assert( nBottom > 1 ); - // refTop will be unlocked inside heapify_after_pop heapify_after_pop( 1, &refTop );