Ticket #8066: spirit_log_fix.patch

File spirit_log_fix.patch, 1.4 KB (added by Andrey Semashev, 10 years ago)

The patch fixes Boost.Log v2 compilation.

  • boost/spirit/home/support/algorithm/any_if.hpp

     
    181181          , Last2 const& last2, F& f, mpl::false_)
    182182        {
    183183            typename result_of::attribute_value<First1, First2, Last2, Pred>::type
    184                 attribute = attribute_value<Pred, First1, Last2>(first2);
     184                attribute = spirit::detail::attribute_value<Pred, First1, Last2>(first2);
    185185
    186186            return f(*first1, attribute) ||
    187187                detail::any_if<Pred>(
  • boost/spirit/home/support/algorithm/any_if_ns.hpp

     
    4848        any_if_ns(First1 const& first1, First2 const& first2
    4949          , Last1 const& last1, Last2 const& last2, F& f, mpl::false_)
    5050        {
    51             return (0 != (f(*first1, attribute_value<Pred, First1, Last2>(first2)) |
     51            return (0 != (f(*first1, spirit::detail::attribute_value<Pred, First1, Last2>(first2)) |
    5252                detail::any_if_ns<Pred>(
    5353                    fusion::next(first1)
    5454                  , attribute_next<Pred, First1, Last2>(first2)