[geos-commits] r2445 - branches/3.0/tests/unit

svn_geos at osgeo.org svn_geos at osgeo.org
Fri May 1 18:17:51 EDT 2009


Author: mloskot
Date: 2009-05-01 18:17:51 -0400 (Fri, 01 May 2009)
New Revision: 2445

Modified:
   branches/3.0/tests/unit/geos_unit.cpp
Log:
[branch 3.0] test/unit: Missing <cstdlib> and std namespace qualifier for atoi function.

Modified: branches/3.0/tests/unit/geos_unit.cpp
===================================================================
--- branches/3.0/tests/unit/geos_unit.cpp	2009-04-30 12:42:44 UTC (rev 2444)
+++ branches/3.0/tests/unit/geos_unit.cpp	2009-05-01 22:17:51 UTC (rev 2445)
@@ -10,6 +10,7 @@
 // STL
 #include <iostream>
 #include <iomanip>
+#include <cstdlib>
 // GEOS
 #include <geos/unload.h>
 
@@ -95,7 +96,7 @@
             // TODO - mloskot - check if test group with given name exists
             // TODO - mloskot - check if test case with given number exists
 
-            tut::runner.get().run_test(argv[1], ::atoi(argv[2]));
+            tut::runner.get().run_test(argv[1], std::atoi(argv[2]));
         }
     }
     catch( const std::exception& ex )



More information about the geos-commits mailing list