[mapguide-commits] r8813 - trunk/MgDev/Oem/geos/src/operation/buffer

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Nov 6 01:04:33 PST 2015


Author: hubu
Date: 2015-11-06 01:04:32 -0800 (Fri, 06 Nov 2015)
New Revision: 8813

Modified:
   trunk/MgDev/Oem/geos/src/operation/buffer/OffsetCurveSetBuilder.cpp
Log:
Fix Linux build. 

Modified: trunk/MgDev/Oem/geos/src/operation/buffer/OffsetCurveSetBuilder.cpp
===================================================================
--- trunk/MgDev/Oem/geos/src/operation/buffer/OffsetCurveSetBuilder.cpp	2015-11-06 04:47:59 UTC (rev 8812)
+++ trunk/MgDev/Oem/geos/src/operation/buffer/OffsetCurveSetBuilder.cpp	2015-11-06 09:04:32 UTC (rev 8813)
@@ -336,7 +336,7 @@
   #ifdef _WIN32
   double envMinDimension = std::fmin(env->getHeight(), env->getWidth());
   #else 
-  double envMinDimension = min(env->getHeight(), env->getWidth());
+  double envMinDimension = std::min(env->getHeight(), env->getWidth());
   #endif
   if (bufferDistance < 0.0 && 2 * std::abs(bufferDistance) > envMinDimension)
       return true;



More information about the mapguide-commits mailing list