[geos-commits] r2181 - trunk/tests/unit

svn_geos at osgeo.org svn_geos at osgeo.org
Sun Aug 31 16:23:13 EDT 2008


Author: mloskot
Date: 2008-08-31 16:23:13 -0400 (Sun, 31 Aug 2008)
New Revision: 2181

Modified:
   trunk/tests/unit/geos_unit.cpp
Log:
Added missing include <cmath> in geos_unit.cpp.

Modified: trunk/tests/unit/geos_unit.cpp
===================================================================
--- trunk/tests/unit/geos_unit.cpp	2008-08-31 19:54:26 UTC (rev 2180)
+++ trunk/tests/unit/geos_unit.cpp	2008-08-31 20:23:13 UTC (rev 2181)
@@ -10,6 +10,7 @@
 // STL
 #include <iostream>
 #include <iomanip>
+#include <cmath>
 // 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