[geos-commits] [SCM] GEOS branch master updated. c1406ebc42943849a0ceda6308c7482b14cd281b
git at osgeo.org
git at osgeo.org
Tue Dec 17 18:46:47 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 c1406ebc42943849a0ceda6308c7482b14cd281b (commit)
from a87d8b9bedb862fe8701e5cc85ff2f8bec06f56d (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 c1406ebc42943849a0ceda6308c7482b14cd281b
Author: Daniel Baston <dbaston at gmail.com>
Date: Tue Dec 17 21:46:27 2019 -0500
Remove unneeded ctor calls
diff --git a/src/precision/MinimumClearance.cpp b/src/precision/MinimumClearance.cpp
index 45ac34f..26f848b 100644
--- a/src/precision/MinimumClearance.cpp
+++ b/src/precision/MinimumClearance.cpp
@@ -48,10 +48,10 @@ MinimumClearance::getLine()
// return empty line string if no min pts were found
if(minClearance == std::numeric_limits<double>::infinity()) {
- return std::unique_ptr<LineString>(inputGeom->getFactory()->createLineString());
+ return inputGeom->getFactory()->createLineString();
}
- return std::unique_ptr<LineString>(inputGeom->getFactory()->createLineString(minClearancePts->clone().release()));
+ return inputGeom->getFactory()->createLineString(minClearancePts->clone());
}
void
-----------------------------------------------------------------------
Summary of changes:
src/precision/MinimumClearance.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list