[geos-commits] r3635 - trunk/capi

svn_geos at osgeo.org svn_geos at osgeo.org
Wed May 23 18:57:52 EDT 2012


Author: mloskot
Date: 2012-05-23 15:57:51 -0700 (Wed, 23 May 2012)
New Revision: 3635

Modified:
   trunk/capi/geos_ts_c.cpp
Log:
Missing namespace prevented Visual C++ compiler to find GEOSAllocator and GEOSFreer

Modified: trunk/capi/geos_ts_c.cpp
===================================================================
--- trunk/capi/geos_ts_c.cpp	2012-05-21 14:12:06 UTC (rev 3634)
+++ trunk/capi/geos_ts_c.cpp	2012-05-23 22:57:51 UTC (rev 3635)
@@ -158,6 +158,8 @@
 extern "C" char GEOS_DLL *GEOSasText(Geometry *g1);
 
 // --- Custom memory allocators -------------------------------- {
+using geos::util::CustomAllocators::GEOSAllocator;
+using geos::util::CustomAllocators::GEOSFreer;
 
 GEOSAllocator geos_alloc = std::malloc;
 GEOSFreer geos_free = std::free; 



More information about the geos-commits mailing list