Ticket #6582: json_parser_read.hpp.diff

File json_parser_read.hpp.diff, 464 bytes (added by Shane Turner <shane.turner@…>, 10 years ago)

Silence the warnings from GCC about unused parameters by commenting out the second variable, leaving only the type.

  • boost/property_tree/detail/json_parser_read.hpp

    old new  
    112112        {
    113113            context &c;
    114114            a_char(context &c): c(c) { }
    115             void operator()(It b, It e) const
     115            void operator()(It b, It /* e */) const
    116116            {
    117117                c.string += *b;
    118118            }