summaryrefslogtreecommitdiff
path: root/src/ptree.cc
diff options
context:
space:
mode:
authorJoe Gallo <joegallo@gmail.com>2014-08-26 09:09:06 -0400
committerJoe Gallo <joegallo@gmail.com>2014-08-26 09:09:06 -0400
commit38557ee63273dcdef22b136c5f424802c7ff6e03 (patch)
tree81fa903cbd0d2501061614e2b8598735fbfba559 /src/ptree.cc
parentdf9ae3ab9b37fde803f26c6bc4eaadfd67fc1d07 (diff)
downloadfork-ledger-38557ee63273dcdef22b136c5f424802c7ff6e03.tar.gz
fork-ledger-38557ee63273dcdef22b136c5f424802c7ff6e03.tar.bz2
fork-ledger-38557ee63273dcdef22b136c5f424802c7ff6e03.zip
fix "type 'char' cannot be used prior to '::'"
Diffstat (limited to 'src/ptree.cc')
-rw-r--r--src/ptree.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ptree.cc b/src/ptree.cc
index 6609aed9..fa6a1db9 100644
--- a/src/ptree.cc
+++ b/src/ptree.cc
@@ -80,7 +80,7 @@ void format_ptree::flush()
switch (format) {
case FORMAT_XML:
- property_tree::xml_writer_settings<char> indented(' ', 2);
+ auto indented = property_tree::xml_writer_make_settings<std::string> (' ', 2);
property_tree::write_xml(out, pt, indented);
out << std::endl;
break;