|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57409 - trunk/boost/spirit/home/support/iterators/detail
From: hartmut.kaiser_at_[hidden]
Date: 2009-11-05 10:53:05
Author: hkaiser
Date: 2009-11-05 10:53:04 EST (Thu, 05 Nov 2009)
New Revision: 57409
URL: http://svn.boost.org/trac/boost/changeset/57409
Log:
Spirit: silence another gcc warning
Text files modified:
trunk/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
Modified: trunk/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp
==============================================================================
--- trunk/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp (original)
+++ trunk/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp 2009-11-05 10:53:04 EST (Thu, 05 Nov 2009)
@@ -53,9 +53,8 @@
dereference(MultiPass const& mp)
{
queue_type& queue = mp.shared()->queued_elements;
- typename queue_type::size_type size = queue.size();
- BOOST_ASSERT(mp.queued_position > 0 && mp.queued_position <= size);
+ BOOST_ASSERT(mp.queued_position > 0 && mp.queued_position <= queue.size());
Value& v(queue[mp.queued_position-1]);
if (!MultiPass::input_is_valid(mp, v))
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