Skip to content

Commit

Permalink
Merge pull request #471 from pramsey/boost56
Browse files Browse the repository at this point in the history
Allow build on Boost 1.56
  • Loading branch information
hobu committed Sep 18, 2014
2 parents 270f5cd + 7023f35 commit 8d05e6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/PipelineWriter.cpp
Expand Up @@ -131,7 +131,11 @@ void PipelineWriter::writePipeline(const std::string& filename) const
(Stage*)m_manager.getStage();

ptree tree = generateTreeFromStage(*stage);
#if BOOST_VERSION >= 105600
const xml_parser::xml_writer_settings<std::string> settings(' ', 4);
#else
const xml_parser::xml_writer_settings<char> settings(' ', 4);
#endif

if (boost::iequals(filename, "STDOUT"))
xml_parser::write_xml(std::cout, tree);
Expand Down

0 comments on commit 8d05e6b

Please sign in to comment.