[geos-commits] [SCM] GEOS branch main updated. 2bda4d22238c255ce7f0ddfe61a03da082a8737f

git at osgeo.org git at osgeo.org
Wed May 3 16:23:01 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, main has been updated
       via  2bda4d22238c255ce7f0ddfe61a03da082a8737f (commit)
      from  bd42a68a09ae9001a66ad4e1a82cd563639ef30b (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 2bda4d22238c255ce7f0ddfe61a03da082a8737f
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu May 4 01:22:23 2023 +0200

    Fix debug build of BufferBuilder.cpp

diff --git a/src/operation/buffer/BufferBuilder.cpp b/src/operation/buffer/BufferBuilder.cpp
index 4d4238444..500d729e2 100644
--- a/src/operation/buffer/BufferBuilder.cpp
+++ b/src/operation/buffer/BufferBuilder.cpp
@@ -449,11 +449,11 @@ BufferBuilder::buffer(const Geometry* g, double distance)
         subgraphList.clear();
 
 #if GEOS_DEBUG
-        std::cerr << "PolygonBuilder got " << resultPolyList->size()
+        std::cerr << "PolygonBuilder got " << resultPolyList.size()
                   << " polygons" << std::endl;
 #if GEOS_DEBUG > 1
-        for(std::size_t i = 0, n = resultPolyList->size(); i < n; i++) {
-            std::cerr << (*resultPolyList)[i]->toString() << std::endl;
+        for(std::size_t i = 0, n = resultPolyList.size(); i < n; i++) {
+            std::cerr << resultPolyList[i]->toString() << std::endl;
         }
 #endif
 #endif

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

Summary of changes:
 src/operation/buffer/BufferBuilder.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list