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
|
| 35 | 35 | const xml_writer_settings<Ch> & settings |
| 36 | 36 | ) |
| 37 | 37 | { |
| 38 | | typedef typename std::basic_string<Ch> Str; |
| 39 | 38 | if (separate_line) |
| 40 | 39 | write_xml_indent(stream,indent,settings); |
| 41 | 40 | stream << Ch('<') << Ch('!') << Ch('-') << Ch('-'); |
| … |
… |
namespace boost { namespace property_tre
|
| 69 | 68 | { |
| 70 | 69 | |
| 71 | 70 | typedef typename Ptree::key_type::value_type Ch; |
| 72 | | typedef typename std::basic_string<Ch> Str; |
| 73 | 71 | typedef typename Ptree::const_iterator It; |
| 74 | 72 | |
| 75 | 73 | bool want_pretty = settings.indent_count > 0; |