Ticket #8563: support_functions.patch

File support_functions.patch, 902 bytes (added by andreas.pokorny@…, 9 years ago)

fix

  • boost/spirit/home/lex/lexer/support_functions.hpp

     
    4747        template <typename Env>
    4848        struct result
    4949        {
    50             typedef typename
    51                 remove_const<
    52                     typename mpl::at_c<typename Env::args_type, 4>::type
    53                 >::type
    54             context_type;
     50            typedef
     51                typename remove_reference<
     52                    typename remove_const<
     53                        typename mpl::at_c<typename Env::args_type, 4>::type
     54                        >::type
     55                    >::type
     56                context_type;
    5557            typedef typename context_type::base_iterator_type type;
    5658        };
    5759