Guest User

Untitled

a guest
Jan 13th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. --- src/cxx/lib/io/Xml.cpp 2018-01-05 14:12:25.000000000 -0500
  2. +++ src/cxx/lib/io/Xml.cpp 2018-01-05 14:12:35.000000000 -0500
  3. @@ -168,19 +168,11 @@
  4. if (!tree.empty())
  5. {
  6. unindex(*tree.begin(), treeWithIndexAttributes);
  7. -#ifndef WIN32
  8. - boost::property_tree::write_xml(os, treeWithIndexAttributes, boost::property_tree::xml_writer_make_settings(' ', 2));
  9. -#else
  10. boost::property_tree::write_xml(os, treeWithIndexAttributes, boost::property_tree::xml_writer_make_settings<std::string>(' ', 2));
  11. -#endif
  12. }
  13. else
  14. {
  15. -#ifndef WIN32
  16. - boost::property_tree::write_xml(os, tree, boost::property_tree::xml_writer_make_settings(' ', 2));
  17. -#else
  18. boost::property_tree::write_xml(os, tree, boost::property_tree::xml_writer_make_settings<std::string>(' ', 2));
  19. -#endif
  20. }
  21. return os;
  22. }
Add Comment
Please, Sign In to add comment