Removed wrong assertion
[libcds.git] / cds / intrusive / mspriority_queue.h
index 8c7f4d94966a71aae20dfabffe6fbe8d321b87d8..5ba498ab1b10c12bf16aff059eaa9cfa26084242 100644 (file)
@@ -235,7 +235,7 @@ namespace cds { namespace intrusive {
             no item has been added.
             Otherwise, the function inserts the pointer to \p val into the heap
             and returns \p true.
-            
+
             The function does not make a copy of \p val.
         */
         bool push( value_type& val )
@@ -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 );