[MOAB-dev] r3695 - MOAB/trunk/examples
iulian at mcs.anl.gov
iulian at mcs.anl.gov
Mon Mar 22 20:57:57 CDT 2010
Author: iulian
Date: 2010-03-22 20:57:56 -0500 (Mon, 22 Mar 2010)
New Revision: 3695
Modified:
MOAB/trunk/examples/FileRead.cpp
Log:
remove warnings
Modified: MOAB/trunk/examples/FileRead.cpp
===================================================================
--- MOAB/trunk/examples/FileRead.cpp 2010-03-23 01:41:51 UTC (rev 3694)
+++ MOAB/trunk/examples/FileRead.cpp 2010-03-23 01:57:56 UTC (rev 3695)
@@ -13,7 +13,7 @@
{
// if a line starts with '#' is a comment
// eat white space characters
- int found=line.find_first_not_of(" \t");
+ size_t found=line.find_first_not_of(" \t");
if (found==string::npos)
return 1; // empty line
if ('#'==line[found])
@@ -21,7 +21,7 @@
return 0; // a line with some data in it, then
}
-MBErrorCode ReadTriangleOutput( MBCore *mb, std::string fileBase ) {
+MBErrorCode ReadTriangleOutput( MBCore *mb, string fileBase ) {
//
// get the read interface from moab
More information about the moab-dev
mailing list