[geos-commits] [SCM] GEOS branch master updated. 07532c3afd174a5f0767569e07aba6c7782f7087
git at osgeo.org
git at osgeo.org
Mon Oct 26 16:24:09 PDT 2020
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 07532c3afd174a5f0767569e07aba6c7782f7087 (commit)
via 25fa71bd8c5433d55df0caa0d0c9beefa7dd31c6 (commit)
from 5b8e312eaf314976ae3a3084f29912d83c6b6300 (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 07532c3afd174a5f0767569e07aba6c7782f7087
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Mon Oct 26 16:24:03 2020 -0700
Remove un-needed std::move in return value
diff --git a/src/operation/buffer/BufferInputLineSimplifier.cpp b/src/operation/buffer/BufferInputLineSimplifier.cpp
index aa281e0..2fd6e92 100644
--- a/src/operation/buffer/BufferInputLineSimplifier.cpp
+++ b/src/operation/buffer/BufferInputLineSimplifier.cpp
@@ -136,7 +136,7 @@ BufferInputLineSimplifier::collapseLine() const
}
}
- return std::move(coordList);
+ return coordList;
}
/* private */
commit 25fa71bd8c5433d55df0caa0d0c9beefa7dd31c6
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Mon Oct 26 16:23:38 2020 -0700
match type in the index to type in the iteration
diff --git a/src/noding/snapround/HotPixelIndex.cpp b/src/noding/snapround/HotPixelIndex.cpp
index 3d493c9..157d06e 100644
--- a/src/noding/snapround/HotPixelIndex.cpp
+++ b/src/noding/snapround/HotPixelIndex.cpp
@@ -85,7 +85,7 @@ HotPixelIndex::add(const CoordinateSequence *pts)
* to avoid getting an unbalanced tree from
* spatially autocorrelated coordinates
*/
- std::vector<int> idxs;
+ std::vector<std::size_t> idxs;
for (size_t i = 0, sz = pts->size(); i < sz; i++)
idxs.push_back(i);
@@ -99,7 +99,7 @@ HotPixelIndex::add(const CoordinateSequence *pts)
void
HotPixelIndex::add(const std::vector<geom::Coordinate>& pts)
{
- std::vector<int> idxs;
+ std::vector<std::size_t> idxs;
for (size_t i = 0, sz = pts.size(); i < sz; i++)
idxs.push_back(i);
-----------------------------------------------------------------------
Summary of changes:
src/noding/snapround/HotPixelIndex.cpp | 4 ++--
src/operation/buffer/BufferInputLineSimplifier.cpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list