[MOAB-dev] r1847 - MOAB/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Tue May 27 14:13:16 CDT 2008


Author: kraftche
Date: 2008-05-27 14:13:16 -0500 (Tue, 27 May 2008)
New Revision: 1847

Modified:
   MOAB/trunk/MBAdaptiveKDTree.cpp
   MOAB/trunk/MBAdaptiveKDTree.hpp
Log:
make references const

Modified: MOAB/trunk/MBAdaptiveKDTree.cpp
===================================================================
--- MOAB/trunk/MBAdaptiveKDTree.cpp	2008-05-27 16:33:07 UTC (rev 1846)
+++ MOAB/trunk/MBAdaptiveKDTree.cpp	2008-05-27 19:13:16 UTC (rev 1847)
@@ -1117,7 +1117,7 @@
 }
 
 static MBErrorCode bounding_box( MBInterface* moab,
-                                 MBRange& elems,
+                                 const MBRange& elems,
                                  MBCartVect& bmin,
                                  MBCartVect& bmax )
 {
@@ -1156,9 +1156,9 @@
 }
 
 
-MBErrorCode MBAdaptiveKDTree::build_tree( MBRange& elems,
-                                       MBEntityHandle& root_set_out,
-                                       const Settings* settings_ptr )
+MBErrorCode MBAdaptiveKDTree::build_tree( const MBRange& elems,
+                                          MBEntityHandle& root_set_out,
+                                          const Settings* settings_ptr )
 {
   MBErrorCode rval;
   Settings settings;

Modified: MOAB/trunk/MBAdaptiveKDTree.hpp
===================================================================
--- MOAB/trunk/MBAdaptiveKDTree.hpp	2008-05-27 16:33:07 UTC (rev 1846)
+++ MOAB/trunk/MBAdaptiveKDTree.hpp	2008-05-27 19:13:16 UTC (rev 1847)
@@ -162,7 +162,7 @@
   };
   
   //! Build a tree
-  MBErrorCode build_tree( MBRange& entities,
+  MBErrorCode build_tree( const MBRange& entities,
                           MBEntityHandle& root_set_out,
                           const Settings* settings = 0 );
   




More information about the moab-dev mailing list