[MOAB-dev] r3996 - MOAB/trunk/src/io

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Fri Jun 4 11:58:37 CDT 2010


Author: kraftche
Date: 2010-06-04 11:58:37 -0500 (Fri, 04 Jun 2010)
New Revision: 3996

Modified:
   MOAB/trunk/src/io/WriteHDF5.cpp
Log:
fix g++ 3.2 portability issue found by Mark Miller

Modified: MOAB/trunk/src/io/WriteHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/WriteHDF5.cpp	2010-06-03 22:24:34 UTC (rev 3995)
+++ MOAB/trunk/src/io/WriteHDF5.cpp	2010-06-04 16:58:37 UTC (rev 3996)
@@ -2849,7 +2849,7 @@
   results.clear();
   if (!tag.have_dense(setSet))
     results.merge( setSet.range );
-  std::list<ExportSet>::const_reverse_iterator e;
+  std::list<ExportSet>::reverse_iterator e;
   for (e = exportList.rbegin(); e != exportList.rend(); ++e) 
     if (!tag.have_dense(*e))
       results.merge( e->range );
@@ -2867,7 +2867,7 @@
 {
   range.clear();
   range.merge( setSet.range );
-  std::list<ExportSet>::const_reverse_iterator e;
+  std::list<ExportSet>::reverse_iterator e;
   for (e = exportList.rbegin(); e != exportList.rend(); ++e) 
     range.merge( e->range );
   range.merge( nodeSet.range );































More information about the moab-dev mailing list