summaryrefslogtreecommitdiff
path: root/src/ptree.cc
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-08-26 18:09:09 -0700
committerCraig Earls <enderw88@gmail.com>2014-08-26 18:09:09 -0700
commitbacde09ead2e7a193a65e939b74eeed1c360ca36 (patch)
treed8b061c3f655263b3d4adc366782cec16a3bc244 /src/ptree.cc
parent4a003b5828fadd47cbea4144ca5352bf6ad4941c (diff)
parent439923368b016ed49ae7723eb4d32fdae3e8e579 (diff)
downloadfork-ledger-bacde09ead2e7a193a65e939b74eeed1c360ca36.tar.gz
fork-ledger-bacde09ead2e7a193a65e939b74eeed1c360ca36.tar.bz2
fork-ledger-bacde09ead2e7a193a65e939b74eeed1c360ca36.zip
Merge branch 'master' into new-fontification-scheme
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;