[MOAB-dev] r1748 - MOAB/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Mon Apr 7 16:25:17 CDT 2008


Author: kraftche
Date: 2008-04-07 16:25:17 -0500 (Mon, 07 Apr 2008)
New Revision: 1748

Modified:
   MOAB/trunk/MBMeshSet.hpp
Log:
fix failed build on older versions of g++

Modified: MOAB/trunk/MBMeshSet.hpp
===================================================================
--- MOAB/trunk/MBMeshSet.hpp	2008-04-07 20:44:30 UTC (rev 1747)
+++ MOAB/trunk/MBMeshSet.hpp	2008-04-07 21:25:17 UTC (rev 1748)
@@ -298,7 +298,12 @@
   
 };
 
+inline MBMeshSet::hdl_iter::difference_type
+ operator-( const MBMeshSet::hdl_iter a, const MBMeshSet::hdl_iter b )
+  { return (MBMeshSet::hdl_iter::difference_type)a.h 
+         - (MBMeshSet::hdl_iter::difference_type)b.h; }
 
+
   //! create an empty meshset
 MBMeshSet::MBMeshSet()
   : mFlags(0), mParentCount(ZERO), mChildCount(ZERO), mContentCount(ZERO)




More information about the moab-dev mailing list