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

git at osgeo.org git at osgeo.org
Sat Dec 14 18:30:24 PST 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  b679eca65dc9fa0ffa1a80fb3fd00bbfce466edd (commit)
      from  dc65705ca78ab009df92ed8aea6f4724b557c3a9 (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 b679eca65dc9fa0ffa1a80fb3fd00bbfce466edd
Author: Daniel Baston <dbaston at gmail.com>
Date:   Sat Dec 14 21:29:16 2019 -0500

    Throw exception for unhandled situation in IndexedNestedShellTester

diff --git a/src/operation/valid/IndexedNestedShellTester.cpp b/src/operation/valid/IndexedNestedShellTester.cpp
index 87dabe8..91c1392 100644
--- a/src/operation/valid/IndexedNestedShellTester.cpp
+++ b/src/operation/valid/IndexedNestedShellTester.cpp
@@ -204,8 +204,7 @@ IndexedNestedShellTester::checkShellInsideHole(const geom::LinearRing* shell,
     // should never reach here: points in hole and shell appear to be equal
-    // TODO throw?
-    return nullptr;
+    throw util::GEOSException("Hole and shell appear to be equal in IndexedNestedShellTester");


Summary of changes:
 src/operation/valid/IndexedNestedShellTester.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)


More information about the geos-commits mailing list