[geos-commits] [SCM] GEOS branch master updated. bf9bd229fba709f50c865679ca4cb66c55be486e

git at osgeo.org git at osgeo.org
Tue Jun 18 08:12:24 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  bf9bd229fba709f50c865679ca4cb66c55be486e (commit)
      from  84ba018a9f88e1118ab9d05d3b42bc383a4176f0 (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 bf9bd229fba709f50c865679ca4cb66c55be486e
Author: Daniel Baston <dbaston at gmail.com>
Date:   Tue Jun 18 11:12:16 2019 -0400

    Fix test build failures

diff --git a/tests/unit/geom/MultiLineStringTest.cpp b/tests/unit/geom/MultiLineStringTest.cpp
index e7ef1f7..9e238be 100644
--- a/tests/unit/geom/MultiLineStringTest.cpp
+++ b/tests/unit/geom/MultiLineStringTest.cpp
@@ -20,8 +20,8 @@ struct test_multilinestring_data {
     geos::io::WKTReader reader_;
 
     test_multilinestring_data() {
-        empty_mls_.reset(reader_.read("MULTILINESTRING EMPTY"));
-        mls_.reset(reader_.read("MULTILINESTRING ((0 0, 1 1), (3 3, 4 4))"));
+        empty_mls_ = reader_.read("MULTILINESTRING EMPTY");
+        mls_ = reader_.read("MULTILINESTRING ((0 0, 1 1), (3 3, 4 4))");
     }
 };
 
diff --git a/tests/unit/geom/MultiPolygonTest.cpp b/tests/unit/geom/MultiPolygonTest.cpp
index d719803..1ff9f8c 100644
--- a/tests/unit/geom/MultiPolygonTest.cpp
+++ b/tests/unit/geom/MultiPolygonTest.cpp
@@ -19,9 +19,8 @@ struct test_multipolygon_data {
     std::unique_ptr<geos::geom::Geometry> mp_;
 
     test_multipolygon_data() {
-        empty_mp_.reset(reader_.read("MULTIPOLYGON EMPTY"));
-        mp_.reset(reader_.read("MULTIPOLYGON (((1 1, 2 1, 2 2, 1 1)))"));
-
+        empty_mp_ = reader_.read("MULTIPOLYGON EMPTY");
+        mp_ = reader_.read("MULTIPOLYGON (((1 1, 2 1, 2 2, 1 1)))");
     }
 };
 

-----------------------------------------------------------------------

Summary of changes:
 tests/unit/geom/MultiLineStringTest.cpp | 4 ++--
 tests/unit/geom/MultiPolygonTest.cpp    | 5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list