Ticket #8879: boost-1.54.0-property_tree-unused_typedef.patch

File boost-1.54.0-property_tree-unused_typedef.patch, 994 bytes (added by Petr Machata <pmachata@…>, 9 years ago)

A fix.

  • boost/property_tree/detail/xml_parser_write.hpp

    diff -urp boost_1_54_0-orig/boost/property_tree/detail/xml_parser_write.hpp boost_1_54_0/boost/property_tree/detail/xml_parser_write.hpp
    old new namespace boost { namespace property_tre  
    3535                           const xml_writer_settings<Ch> & settings
    3636                           )
    3737    {
    38         typedef typename std::basic_string<Ch> Str;
    3938        if (separate_line)
    4039            write_xml_indent(stream,indent,settings);
    4140        stream << Ch('<') << Ch('!') << Ch('-') << Ch('-');
    namespace boost { namespace property_tre  
    6968    {
    7069
    7170        typedef typename Ptree::key_type::value_type Ch;
    72         typedef typename std::basic_string<Ch> Str;
    7371        typedef typename Ptree::const_iterator It;
    7472
    7573        bool want_pretty = settings.indent_count > 0;