Skip to content
Snippets Groups Projects
Commit 3ec599eb authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

Update for changed interface of boost >= 1.55.

The boost::property_tree::xml_writer_settings interface changed from Char type to String type. A preprocessor if for boost version <= 1.55 added to include old versions.
parent 78859587
No related branches found
No related tags found
No related merge requests found
......@@ -530,7 +530,11 @@ bool BoostVtuInterface::write()
ERR("BoostVtuInterface::write(): No mesh specified.");
return false;
}
#if BOOST_VERSION <= 105500
property_tree::xml_writer_settings<char> settings('\t', 1);
#else
property_tree::xml_writer_settings<std::string> settings('\t', 1);
#endif // BOOST_VERSION
write_xml(_out, _doc, settings);
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment