Changeset 44905


Ignore:
Timestamp:
Apr 30, 2008, 1:59:05 AM (11 years ago)
Author:
Hartmut Kaiser
Message:

Spirit.Karma: Fixing ref() ambiguity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/spirit/test/karma/list.cpp

    r44718 r44905  
    3636
    3737    using namespace boost::assign;
    38    
     38
    3939    std::vector<char> v;
    4040    v += 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h';
     
    5454
    5555    { // actions
    56         using namespace boost::phoenix;
     56        namespace phx = boost::phoenix;
    5757        using boost::spirit::arg_names::_1;
    5858
    59         BOOST_TEST(test("a,b,c,d,e,f,g,h", (char_ % ',')[_1 = ref(v)]));
     59        BOOST_TEST(test("a,b,c,d,e,f,g,h", (char_ % ',')[_1 = phx::ref(v)]));
    6060        BOOST_TEST(test_delimited("a , b , c , d , e , f , g , h ",
    61             (char_ % ',')[_1 = ref(v)], space));
     61            (char_ % ',')[_1 = phx::ref(v)], space));
    6262    }
    6363
Note: See TracChangeset for help on using the changeset viewer.