Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51035 - trunk/boost/graph/detail
From: juergen.hunold_at_[hidden]
Date: 2009-02-05 15:07:08


Author: jhunold
Date: 2009-02-05 15:07:08 EST (Thu, 05 Feb 2009)
New Revision: 51035
URL: http://svn.boost.org/trac/boost/changeset/51035

Log:
Fix gcc compile error due to "undefined variable 'index'".

Text files modified:
   trunk/boost/graph/detail/d_ary_heap.hpp | 1 +
   1 files changed, 1 insertions(+), 0 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 2009-02-05 15:07:08 EST (Thu, 05 Feb 2009)
@@ -122,6 +122,7 @@
     }
 
     bool contains(const Value& v) const {
+ size_type index = get(index_in_heap, v);
       return (index != (size_type)(-1));
     }
 


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