Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58333 - trunk/libs/xpressive/test
From: eric_at_[hidden]
Date: 2009-12-12 21:06:50


Author: eric_niebler
Date: 2009-12-12 21:06:50 EST (Sat, 12 Dec 2009)
New Revision: 58333
URL: http://svn.boost.org/trac/boost/changeset/58333

Log:
eliminate gcc warning
Text files modified:
   trunk/libs/xpressive/test/test.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/xpressive/test/test.hpp
==============================================================================
--- trunk/libs/xpressive/test/test.hpp (original)
+++ trunk/libs/xpressive/test/test.hpp 2009-12-12 21:06:50 EST (Sat, 12 Dec 2009)
@@ -105,7 +105,7 @@
 
             for(std::size_t i = 0; i < what.size() && i < this->brs_.size(); ++i)
             {
- BOOST_XPR_CHECK(!what[i].matched && this->brs_[i] == empty || this->brs_[i] == what[i].str());
+ BOOST_XPR_CHECK((!what[i].matched && this->brs_[i] == empty) || this->brs_[i] == what[i].str());
             }
         }
         else


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