[geos-commits] [SCM] GEOS branch master updated. 1837d3b74477ccd5624fe578a582f455bab310d1

git at osgeo.org git at osgeo.org
Fri Jan 17 19:14:53 PST 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  1837d3b74477ccd5624fe578a582f455bab310d1 (commit)
      from  d62686316e59f59e9f64814d3a769c736b27d885 (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 1837d3b74477ccd5624fe578a582f455bab310d1
Author: Daniel Baston <dbaston at gmail.com>
Date:   Fri Jan 17 22:14:42 2020 -0500

    Make LineMerger noncopyable (fixes MSVC build)

diff --git a/include/geos/operation/linemerge/LineMerger.h b/include/geos/operation/linemerge/LineMerger.h
index 9ea6125..773c382 100644
--- a/include/geos/operation/linemerge/LineMerger.h
+++ b/include/geos/operation/linemerge/LineMerger.h
@@ -133,6 +133,9 @@ public:
     void add(const geom::LineString* lineString);
+    // Declare type as noncopyable
+    LineMerger(const LineMerger& other) = delete;
+    LineMerger& operator=(const LineMerger& rhs) = delete;
 } // namespace geos::operation::linemerge


Summary of changes:
 include/geos/operation/linemerge/LineMerger.h | 3 +++
 1 file changed, 3 insertions(+)


More information about the geos-commits mailing list