Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-04-26 21:46:24


Author: hkaiser
Date: 2008-04-26 21:46:24 EDT (Sat, 26 Apr 2008)
New Revision: 44800
URL: http://svn.boost.org/trac/boost/changeset/44800

Log:
Spirit.Lex: fixed some gcc 4.3 warnings.
Text files modified:
   trunk/boost/spirit/home/support/detail/lexer/string_token.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/support/detail/lexer/string_token.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/lexer/string_token.hpp (original)
+++ trunk/boost/spirit/home/support/detail/lexer/string_token.hpp 2008-04-26 21:46:24 EDT (Sat, 26 Apr 2008)
@@ -135,7 +135,7 @@
 
     void intersect (basic_string_token &rhs_, basic_string_token &overlap_)
     {
- if (any () && rhs_.any () || (_negated == rhs_._negated &&
+ if ((any () && rhs_.any ()) || (_negated == rhs_._negated &&
             !any () && !rhs_.any ()))
         {
             intersect_same_types (rhs_, overlap_);


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