Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72082 - trunk/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk
From: barend.gehrels_at_[hidden]
Date: 2011-05-22 11:43:19


Author: barendgehrels
Date: 2011-05-22 11:43:19 EDT (Sun, 22 May 2011)
New Revision: 72082
URL: http://svn.boost.org/trac/boost/changeset/72082

Log:
Fixed split for gcc/clang
Text files modified:
   trunk/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/quickbook_output.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/quickbook_output.hpp
==============================================================================
--- trunk/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/quickbook_output.hpp (original)
+++ trunk/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/quickbook_output.hpp 2011-05-22 11:43:19 EDT (Sun, 22 May 2011)
@@ -298,8 +298,8 @@
     {
         // "Unnamespace" it and add all terms (also namespaces)
         std::vector<std::string> splitted;
- boost::split(splitted, boost::replace_all_copy(term, "::", ":")
- , boost::is_any_of(":"), boost::token_compress_on);
+ std::string for_split = boost::replace_all_copy(term, "::", ":");
+ boost::split(splitted, for_split, boost::is_any_of(":"), boost::token_compress_on);
         BOOST_FOREACH(std::string const& part, splitted)
         {
             out << "<indexterm><primary>" << part << "</primary></indexterm>";


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk