[geos-commits] [SCM] GEOS branch master updated. da7a232692e8cf4b5abe9e7d0e35b99648f396ac

git at osgeo.org git at osgeo.org
Sun Sep 15 16:48:07 PDT 2019


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, master has been updated
       via  da7a232692e8cf4b5abe9e7d0e35b99648f396ac (commit)
      from  c82abc242a3f4ffdd3da5fbe34945e4027273345 (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 da7a232692e8cf4b5abe9e7d0e35b99648f396ac
Author: Daniel Baston <dbaston at gmail.com>
Date:   Sun Sep 15 19:47:08 2019 -0400

    Fix gcc 4.8 build
    
    gcc 4.8 does not allow return by converting move constructor.

diff --git a/src/triangulate/quadedge/QuadEdgeSubdivision.cpp b/src/triangulate/quadedge/QuadEdgeSubdivision.cpp
index 6352459..f2dedb9 100644
--- a/src/triangulate/quadedge/QuadEdgeSubdivision.cpp
+++ b/src/triangulate/quadedge/QuadEdgeSubdivision.cpp
@@ -592,7 +592,7 @@ QuadEdgeSubdivision::getVoronoiCellPolygon(const QuadEdge* qe, const geom::Geome
     }
 
     auto seq = geomFact.getCoordinateSequenceFactory()->create(std::move(cellPts));
-    auto cellPoly = geomFact.createPolygon(geomFact.createLinearRing(std::move(seq)));
+    std::unique_ptr<Geometry> cellPoly = geomFact.createPolygon(geomFact.createLinearRing(std::move(seq)));
 
     // FIXME why is this returning a pointer to a local variable?
     Vertex v = startQE->orig();

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

Summary of changes:
 src/triangulate/quadedge/QuadEdgeSubdivision.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list