Boost logo

Boost-Commit :

From: markus.schoepflin_at_[hidden]
Date: 2007-09-17 05:04:37


Author: schoepflin
Date: 2007-09-17 05:04:37 EDT (Mon, 17 Sep 2007)
New Revision: 39342
URL: http://svn.boost.org/trac/boost/changeset/39342

Log:
Corrections for Tru64/CXX.
Text files modified:
   trunk/tools/regression/library_status.cpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/tools/regression/library_status.cpp
==============================================================================
--- trunk/tools/regression/library_status.cpp (original)
+++ trunk/tools/regression/library_status.cpp 2007-09-17 05:04:37 EDT (Mon, 17 Sep 2007)
@@ -90,7 +90,7 @@
     struct col_node {
         int rows, cols;
         bool is_leaf_directory;
- typedef std::map<const std::string, col_node> subcolumns_t;
+ typedef std::map<std::string, col_node> subcolumns_t;
         subcolumns_t m_subcolumns;
         bool operator<(const col_node &cn) const;
         col_node() :
@@ -223,7 +223,7 @@
     const xml::element & find_element(
         const xml::element & root, const string & name )
     {
- const xml::element empty_element;
+ static const xml::element empty_element;
         xml::element_list::const_iterator itr;
         for ( itr = root.elements.begin();
             itr != root.elements.end() && (*itr)->name != name;
@@ -246,7 +246,7 @@
             if(atr->name == attribute_name)
                 return atr->value;
         }
- const static string empty_string;
+ static const string empty_string;
         return empty_string;
     }
 


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