Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75074 - trunk/boost/pending
From: jewillco_at_[hidden]
Date: 2011-10-20 17:32:46


Author: jewillco
Date: 2011-10-20 17:32:45 EDT (Thu, 20 Oct 2011)
New Revision: 75074
URL: http://svn.boost.org/trac/boost/changeset/75074

Log:
Removed incorrect != 0 test on boost::optional; fixes #6044
Text files modified:
   trunk/boost/pending/relaxed_heap.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/pending/relaxed_heap.hpp
==============================================================================
--- trunk/boost/pending/relaxed_heap.hpp (original)
+++ trunk/boost/pending/relaxed_heap.hpp 2011-10-20 17:32:45 EDT (Thu, 20 Oct 2011)
@@ -163,7 +163,7 @@
   void remove(const value_type& x)
   {
     group* a = &index_to_group[get(id, x) / log_n];
- assert(groups[get(id, x)] != 0);
+ assert(groups[get(id, x)]);
     a->value = x;
     a->kind = smallest_key;
     promote(a);


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