From 38557ee63273dcdef22b136c5f424802c7ff6e03 Mon Sep 17 00:00:00 2001 From: Joe Gallo Date: Tue, 26 Aug 2014 09:09:06 -0400 Subject: fix "type 'char' cannot be used prior to '::'" --- src/ptree.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ptree.cc') 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 indented(' ', 2); + auto indented = property_tree::xml_writer_make_settings (' ', 2); property_tree::write_xml(out, pt, indented); out << std::endl; break; -- cgit v1.2.3