Removed wrong assertion
authorkhizmax <khizmax@gmail.com>
Tue, 22 Dec 2015 11:45:35 +0000 (14:45 +0300)
committerkhizmax <khizmax@gmail.com>
Tue, 22 Dec 2015 11:45:35 +0000 (14:45 +0300)
cds/intrusive/mspriority_queue.h

index 422bdd2..5ba498a 100644 (file)
@@ -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 );