diff options
author | John Wiegley <johnw@newartisans.com> | 2014-08-27 11:56:07 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2014-08-27 11:56:07 -0500 |
commit | 4ed6599579ebd1b74050df5362591d3acfca9091 (patch) | |
tree | c9ebf25e8dad05241484992f46785ff7765c78ae /src/ptree.cc | |
parent | 439923368b016ed49ae7723eb4d32fdae3e8e579 (diff) | |
download | fork-ledger-4ed6599579ebd1b74050df5362591d3acfca9091.tar.gz fork-ledger-4ed6599579ebd1b74050df5362591d3acfca9091.tar.bz2 fork-ledger-4ed6599579ebd1b74050df5362591d3acfca9091.zip |
Revert "fix "type 'char' cannot be used prior to '::'""
This reverts commit 38557ee63273dcdef22b136c5f424802c7ff6e03.
Diffstat (limited to 'src/ptree.cc')
-rw-r--r-- | src/ptree.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ptree.cc b/src/ptree.cc index fa6a1db9..6609aed9 100644 --- a/src/ptree.cc +++ b/src/ptree.cc @@ -80,7 +80,7 @@ void format_ptree::flush() switch (format) { case FORMAT_XML: - auto indented = property_tree::xml_writer_make_settings<std::string> (' ', 2); + property_tree::xml_writer_settings<char> indented(' ', 2); property_tree::write_xml(out, pt, indented); out << std::endl; break; |