[geos-commits] [SCM] GEOS branch master updated. b3de1051d8618bf6cf4c9c4ced5eecfb4ca72fed
git at osgeo.org
git at osgeo.org
Thu Jul 11 09:06:03 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 b3de1051d8618bf6cf4c9c4ced5eecfb4ca72fed (commit)
from 699804121992d65370483471d47daf1ba8707c2c (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 b3de1051d8618bf6cf4c9c4ced5eecfb4ca72fed
Author: Daniel Baston <dbaston at gmail.com>
Date: Thu Jul 11 12:05:45 2019 -0400
Catch exception by reference
diff --git a/src/linearref/LinearGeometryBuilder.cpp b/src/linearref/LinearGeometryBuilder.cpp
index 78600e0..941e815 100644
--- a/src/linearref/LinearGeometryBuilder.cpp
+++ b/src/linearref/LinearGeometryBuilder.cpp
@@ -118,7 +118,7 @@ LinearGeometryBuilder::endLine()
try {
line = geomFact->createLineString(coordList);
}
- catch(util::IllegalArgumentException ex) {
+ catch(util::IllegalArgumentException & ex) {
// exception is due to too few points in line.
// only propagate if not ignoring short lines
if(! ignoreInvalidLines) {
-----------------------------------------------------------------------
Summary of changes:
src/linearref/LinearGeometryBuilder.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list