Skip to content
Snippets Groups Projects
Commit 95373fd9 authored by Tom Fischer's avatar Tom Fischer
Browse files

Merge pull request #459 from endJunction/Boost156XmlWriterUpdate

Update for changed interface of boost >= 1.55.
parents 78859587 3ec599eb
No related branches found
No related tags found
No related merge requests found
...@@ -530,7 +530,11 @@ bool BoostVtuInterface::write() ...@@ -530,7 +530,11 @@ bool BoostVtuInterface::write()
ERR("BoostVtuInterface::write(): No mesh specified."); ERR("BoostVtuInterface::write(): No mesh specified.");
return false; return false;
} }
#if BOOST_VERSION <= 105500
property_tree::xml_writer_settings<char> settings('\t', 1); 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); write_xml(_out, _doc, settings);
return true; 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