[geos-commits] [SCM] GEOS branch master updated. 7657bc03d6a587ef02caa689068b130d56ba45e1
git at osgeo.org
git at osgeo.org
Mon Oct 12 10:01:53 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 7657bc03d6a587ef02caa689068b130d56ba45e1 (commit)
from 3507276eee3ae0623d9aeb4cb91254844834109c (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 7657bc03d6a587ef02caa689068b130d56ba45e1
Author: Sandro Santilli <strk at kbt.io>
Date: Mon Oct 12 19:01:31 2020 +0200
Fix compilation
diff --git a/tests/unit/operation/overlayng/OverlayNGRobustTest.cpp b/tests/unit/operation/overlayng/OverlayNGRobustTest.cpp
index 912300a..4c23478 100644
--- a/tests/unit/operation/overlayng/OverlayNGRobustTest.cpp
+++ b/tests/unit/operation/overlayng/OverlayNGRobustTest.cpp
@@ -8,18 +8,21 @@
//
#include <tut/tut.hpp>
+#include <tut/tut_macros.hpp>
#include <utility.h>
// geos
#include <geos/operation/overlayng/OverlayNGRobust.h>
+#include <geos/operation/overlayng/OverlayNG.h>
// std
#include <memory>
using namespace geos::geom;
-using namespace geos::operation::overlayng;
using geos::io::WKTReader;
using geos::io::WKTWriter;
+using geos::operation::overlayng::OverlayNGRobust;
+using geos::operation::overlayng::OverlayNG;
namespace tut {
//
@@ -49,8 +52,7 @@ struct test_overlayngrobust_data {
{
std::unique_ptr<Geometry> geom_a = r.read(a);
std::unique_ptr<Geometry> geom_b = r.read(b);
- std::unique_ptr<Geometry> geom_expected = r.read(expected);
- ensure_nothrow( OverlayNGRobust::Overlay(geom_a.get(), geom_b.get(), opCode) );
+ ensure_NO_THROW( OverlayNGRobust::Overlay(geom_a.get(), geom_b.get(), opCode) );
}
};
-----------------------------------------------------------------------
Summary of changes:
tests/unit/operation/overlayng/OverlayNGRobustTest.cpp | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list