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

git at osgeo.org git at osgeo.org
Mon Oct 7 11:31:43 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  b54786f9e1a4538c23a5145064fd51570ff7507a (commit)
      from  21ee31f6e0b67d0a70475fd8c50e573e231de08f (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 b54786f9e1a4538c23a5145064fd51570ff7507a
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Oct 7 11:31:23 2019 -0700

    Random guess at what the problem is
    References #994

diff --git a/include/geos/geom/GeometryFactory.h b/include/geos/geom/GeometryFactory.h
index 6393c67..a33d03f 100644
--- a/include/geos/geom/GeometryFactory.h
+++ b/include/geos/geom/GeometryFactory.h
@@ -388,7 +388,7 @@ public:
             case Dimension::L: return createMultiLineString(std::move(fromGeoms));
             case Dimension::P: return createMultiPoint(std::move(fromGeoms));
             default:
-                throw geos::util::IllegalArgumentException("Invalid geometry type.");
+                throw geos::util::IllegalArgumentException(std::string("Invalid geometry type."));
         }
     }
 

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

Summary of changes:
 include/geos/geom/GeometryFactory.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list