[geos-commits] r4241 - trunk/src/operation/buffer

Sandro Santilli strk at kbt.io
Thu Jul 21 11:34:45 PDT 2016


Author: strk
Date: 2016-07-21 11:34:45 -0700 (Thu, 21 Jul 2016)
New Revision: 4241

Modified:
   trunk/src/operation/buffer/BufferOp.cpp
Log:
Do not define unused function

Modified: trunk/src/operation/buffer/BufferOp.cpp
===================================================================
--- trunk/src/operation/buffer/BufferOp.cpp	2016-07-21 18:25:50 UTC (rev 4240)
+++ trunk/src/operation/buffer/BufferOp.cpp	2016-07-21 18:34:45 UTC (rev 4241)
@@ -60,8 +60,7 @@
 static Profiler *profiler = Profiler::instance();
 #endif
 
-namespace {
-
+#if 0
 double OLDprecisionScaleFactor(const Geometry *g,
 	double distance, int maxPrecisionDigits)
 {
@@ -76,9 +75,8 @@
 	double scaleFactor=std::pow(10.0,-minUnitLog10);
 	return scaleFactor;
 }
+#endif
 
-} // anonymous namespace
-
 /*private*/
 double
 BufferOp::precisionScaleFactor(const Geometry *g,



More information about the geos-commits mailing list