|
Boost-Commit : |
From: hartmut.kaiser_at_[hidden]
Date: 2008-05-01 10:17:52
Author: hkaiser
Date: 2008-05-01 10:17:52 EDT (Thu, 01 May 2008)
New Revision: 44973
URL: http://svn.boost.org/trac/boost/changeset/44973
Log:
Spirit.Karma: Trying to workaround a gcc 4.2.1 bug.
Text files modified:
trunk/libs/spirit/test/karma/actions.cpp | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
Modified: trunk/libs/spirit/test/karma/actions.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/actions.cpp (original)
+++ trunk/libs/spirit/test/karma/actions.cpp 2008-05-01 10:17:52 EDT (Thu, 01 May 2008)
@@ -75,14 +75,15 @@
}
{
- using boost::lambda::_1;
+ namespace lambda = boost::lambda;
{
std::stringstream strm("42");
- BOOST_TEST(test("{42}", '{' << int_[strm >> _1] << '}'));
+ BOOST_TEST(test("{42}", '{' << int_[strm >> lambda::_1] << '}'));
}
{
std::stringstream strm("42");
- BOOST_TEST(test_delimited("{ 42 } ", '{' << int_[strm >> _1] << '}', space));
+ BOOST_TEST(test_delimited("{ 42 } ",
+ '{' << int_[strm >> lambda::_1] << '}', space));
}
}
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