[geos-commits] [SCM] GEOS branch 3.11 updated. f0adf3ab45bd12c76268fd0b9a09d2d0781d73da

git at osgeo.org git at osgeo.org
Mon May 8 13:23:57 PDT 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, 3.11 has been updated
       via  f0adf3ab45bd12c76268fd0b9a09d2d0781d73da (commit)
      from  42138fac00b7b95f157708a91e30766ea88903d8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f0adf3ab45bd12c76268fd0b9a09d2d0781d73da
Author: Martin Davis <mtnclimb at gmail.com>
Date:   Mon May 8 13:23:37 2023 -0700

    Fix GeosOp OffsetCurve call

diff --git a/util/geosop/GeomFunction.cpp b/util/geosop/GeomFunction.cpp
index abe1abfb3..97a43484a 100644
--- a/util/geosop/GeomFunction.cpp
+++ b/util/geosop/GeomFunction.cpp
@@ -221,9 +221,7 @@ GeomFunction::init()
         catConst, "compute the offset curve of geometry by a distance",
         [](const std::unique_ptr<Geometry>& geom, const std::unique_ptr<Geometry>& geomB, double d)->Result* {
             (void) geomB;  // prevent unused variable warning
-            geos::operation::buffer::BufferParameters bp;
-
-            geos::operation::buffer::OffsetCurve oc(*geom, d, bp);
+            geos::operation::buffer::OffsetCurve oc(*geom, d);
             std::unique_ptr<Geometry> g3 = oc.getCurve();
             return new Result( g3.release() );
         });

-----------------------------------------------------------------------

Summary of changes:
 util/geosop/GeomFunction.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list