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 422bdd201f29123581e73697a9c87dcee4d500a7..5ba498ab1b10c12bf16aff059eaa9cfa26084242 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 );