summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ptree.cc2
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;