|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84741 - trunk/boost/heap
From: tim_at_[hidden]
Date: 2013-06-11 10:45:52
Author: timblechmann
Date: 2013-06-11 10:45:51 EDT (Tue, 11 Jun 2013)
New Revision: 84741
URL: http://svn.boost.org/trac/boost/changeset/84741
Log:
heap: avoid compiler warning
Text files modified:
trunk/boost/heap/d_ary_heap.hpp | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
Modified: trunk/boost/heap/d_ary_heap.hpp
==============================================================================
--- trunk/boost/heap/d_ary_heap.hpp Tue Jun 11 10:45:24 2013 (r84740)
+++ trunk/boost/heap/d_ary_heap.hpp 2013-06-11 10:45:51 EDT (Tue, 11 Jun 2013) (r84741)
@@ -348,9 +348,7 @@
size_type last_child_index(size_type index) const
{
- typedef typename container_type::const_iterator container_iterator;
const size_t first_index = first_child_index(index);
-
const size_type last_index = (std::min)(first_index + D - 1, size() - 1);
return last_index;
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