Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56864 - in branches/release/libs/spirit/test: . qi
From: hartmut.kaiser_at_[hidden]
Date: 2009-10-15 07:33:59


Author: hkaiser
Date: 2009-10-15 07:33:58 EDT (Thu, 15 Oct 2009)
New Revision: 56864
URL: http://svn.boost.org/trac/boost/changeset/56864

Log:
Spirit: merging missing revision from trunk
Properties modified:
   branches/release/libs/spirit/test/ (props changed)
   branches/release/libs/spirit/test/qi/optional.cpp (props changed)
Text files modified:
   branches/release/libs/spirit/test/qi/list.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/release/libs/spirit/test/qi/list.cpp
==============================================================================
--- branches/release/libs/spirit/test/qi/list.cpp (original)
+++ branches/release/libs/spirit/test/qi/list.cpp 2009-10-15 07:33:58 EDT (Thu, 15 Oct 2009)
@@ -79,8 +79,8 @@
         std::vector<boost::optional<std::string> > v;
         BOOST_TEST(test_attr("#a,#", ('#' >> -alpha) % ',', v));
         BOOST_TEST(2 == v.size() &&
- v[0] && "a" == boost::get<std::string>(v[0]) &&
- v[1] && boost::get<std::string>(v[1]).size() == 1 &&
+ !!v[0] && "a" == boost::get<std::string>(v[0]) &&
+ !!v[1] && boost::get<std::string>(v[1]).size() == 1 &&
                     boost::get<std::string>(v[1])[0] == '\0');
     }
 


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