[geos-commits] [SCM] GEOS branch master updated. 07249559a60569deb511fe07e4accd0471ef5ce0
git at osgeo.org
git at osgeo.org
Wed Dec 19 09:35:18 PST 2018
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 07249559a60569deb511fe07e4accd0471ef5ce0 (commit)
from cf25cdbcf040a6a9e86b21fc14efd98da58d6166 (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 07249559a60569deb511fe07e4accd0471ef5ce0
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Wed Dec 19 09:35:11 2018 -0800
Throw exception by value
diff --git a/src/algorithm/Distance.cpp b/src/algorithm/Distance.cpp
index e8a9fbb..305f7ae 100644
--- a/src/algorithm/Distance.cpp
+++ b/src/algorithm/Distance.cpp
@@ -163,7 +163,7 @@ Distance::pointToSegmentString(const geom::Coordinate& p,
const geom::CoordinateSequence *seq)
{
if (seq->size() == 0) {
- throw new util::IllegalArgumentException(
+ throw util::IllegalArgumentException(
"Line array must contain at least one vertex");
}
-----------------------------------------------------------------------
Summary of changes:
src/algorithm/Distance.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list