Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-04-17 08:22:33


Author: hkaiser
Date: 2008-04-17 08:22:33 EDT (Thu, 17 Apr 2008)
New Revision: 44496
URL: http://svn.boost.org/trac/boost/changeset/44496

Log:
Spirit V2: Fixed a gcc complaint
Text files modified:
   trunk/boost/spirit/home/support/iterators/detail/fixed_size_queue_policy.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/spirit/home/support/iterators/detail/fixed_size_queue_policy.hpp
==============================================================================
--- trunk/boost/spirit/home/support/iterators/detail/fixed_size_queue_policy.hpp (original)
+++ trunk/boost/spirit/home/support/iterators/detail/fixed_size_queue_policy.hpp 2008-04-17 08:22:33 EDT (Thu, 17 Apr 2008)
@@ -99,14 +99,14 @@
             template <typename MultiPass>
             static bool equal_to(MultiPass const& mp, MultiPass const& x)
             {
- return queuePosition == x.queuePosition;
+ return mp.queuePosition == x.queuePosition;
             }
 
             // called by operator<
             template <typename MultiPass>
             static bool less_than(MultiPass const& mp, MultiPass const& x)
             {
- return queuePosition < x.queuePosition;
+ return mp.queuePosition < x.queuePosition;
             }
 
         protected:


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