Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81724 - trunk/boost/graph/detail
From: jewillco_at_[hidden]
Date: 2012-12-05 14:26:38


Author: jewillco
Date: 2012-12-05 14:26:38 EST (Wed, 05 Dec 2012)
New Revision: 81724
URL: http://svn.boost.org/trac/boost/changeset/81724

Log:
Changed to BOOST_ASSERT
Text files modified:
   trunk/boost/graph/detail/d_ary_heap.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/graph/detail/d_ary_heap.hpp
==============================================================================
--- trunk/boost/graph/detail/d_ary_heap.hpp (original)
+++ trunk/boost/graph/detail/d_ary_heap.hpp 2012-12-05 14:26:38 EST (Wed, 05 Dec 2012)
@@ -126,17 +126,17 @@
     }
 
     Value& top() {
- assert (!this->empty());
+ BOOST_ASSERT (!this->empty());
       return data[0];
     }
 
     const Value& top() const {
- assert (!this->empty());
+ BOOST_ASSERT (!this->empty());
       return data[0];
     }
 
     void pop() {
- assert (!this->empty());
+ BOOST_ASSERT (!this->empty());
       put(index_in_heap, data[0], (size_type)(-1));
       if (data.size() != 1) {
         data[0] = data.back();


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk