|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r72113 - trunk/libs/spirit/phoenix/test/bind
From: hartmut.kaiser_at_[hidden]
Date: 2011-05-22 21:56:42
Author: hkaiser
Date: 2011-05-22 21:56:41 EDT (Sun, 22 May 2011)
New Revision: 72113
URL: http://svn.boost.org/trac/boost/changeset/72113
Log:
Spirit: disambiguating variables in test
Text files modified:
trunk/libs/spirit/phoenix/test/bind/bind_member_variable_tests.cpp | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
Modified: trunk/libs/spirit/phoenix/test/bind/bind_member_variable_tests.cpp
==============================================================================
--- trunk/libs/spirit/phoenix/test/bind/bind_member_variable_tests.cpp (original)
+++ trunk/libs/spirit/phoenix/test/bind/bind_member_variable_tests.cpp 2011-05-22 21:56:41 EDT (Sun, 22 May 2011)
@@ -86,18 +86,18 @@
int
main()
{
- write_test<test::x>(identity());
- write_test<test::x>(add_pointer());
- write_test<test::xx>(identity());
- write_test<test::xx>(add_pointer());
+ write_test<test::x>(::identity());
+ write_test<test::x>(::add_pointer());
+ write_test<test::xx>(::identity());
+ write_test<test::xx>(::add_pointer());
- read_test<test::x>(identity());
+ read_test<test::x>(::identity());
//read_test<test::x>(constify()); // this fails because of capture by value.
- read_test<test::x>(add_pointer());
+ read_test<test::x>(::add_pointer());
read_test<test::x>(add_const_pointer());
- read_test<test::xx>(identity());
+ read_test<test::xx>(::identity());
//read_test<test::xx>(constify());// this fails because of capture by value.
- read_test<test::xx>(add_pointer());
+ read_test<test::xx>(::add_pointer());
read_test<test::xx>(add_const_pointer());
return boost::report_errors();
}
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