[MOAB-dev] r3117 - MOAB/trunk

jvporter at wisc.edu jvporter at wisc.edu
Mon Aug 24 15:58:43 CDT 2009


Author: jvporter
Date: 2009-08-24 15:58:43 -0500 (Mon, 24 Aug 2009)
New Revision: 3117

Modified:
   MOAB/trunk/ReadABAQUS.cpp
   MOAB/trunk/ReadABAQUS.hpp
Log:
Eliminate warnings when building


Modified: MOAB/trunk/ReadABAQUS.cpp
===================================================================
--- MOAB/trunk/ReadABAQUS.cpp	2009-08-24 20:33:43 UTC (rev 3116)
+++ MOAB/trunk/ReadABAQUS.cpp	2009-08-24 20:58:43 UTC (rev 3117)
@@ -1641,7 +1641,7 @@
 }
   
 
-MBTag ReadABAQUS::get_tag(char* tag_name, 
+MBTag ReadABAQUS::get_tag(const char* tag_name, 
 			  int tag_size,
 			  MBTagType tag_type,
 			  MBDataType tag_data_type)
@@ -1652,7 +1652,7 @@
 
 }
 
-MBTag ReadABAQUS::get_tag(char* tag_name, 
+MBTag ReadABAQUS::get_tag(const char* tag_name, 
 			  int tag_size,
 			  MBTagType tag_type,
 			  MBDataType tag_data_type,

Modified: MOAB/trunk/ReadABAQUS.hpp
===================================================================
--- MOAB/trunk/ReadABAQUS.hpp	2009-08-24 20:33:43 UTC (rev 3116)
+++ MOAB/trunk/ReadABAQUS.hpp	2009-08-24 20:58:43 UTC (rev 3117)
@@ -242,8 +242,10 @@
 				      const std::vector<double> &translation,
 				      const std::vector<double> &rotation);
 
-  MBTag get_tag(char* tag_name, int tag_size, MBTagType tag_type, MBDataType tag_data_type);
-  MBTag get_tag(char* tag_name, int tag_size, MBTagType tag_type, MBDataType tag_data_type, const void* def_val);
+  MBTag get_tag(const char* tag_name, int tag_size, MBTagType tag_type,
+                MBDataType tag_data_type);
+  MBTag get_tag(const char* tag_name, int tag_size, MBTagType tag_type,
+                MBDataType tag_data_type, const void* def_val);
   
   void cyl2rect(std::vector<double> coord_list);
 



More information about the moab-dev mailing list