From 828346add365dc1aafe7dd8c02bb9c97a3342eef Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Wed, 31 Jan 2018 14:11:55 +0100 Subject: [PATCH] require BOOST_VERSION >= 1.62.0 (#3835) --- test/unit/geometry/closest_point.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/unit/geometry/closest_point.cpp b/test/unit/geometry/closest_point.cpp index 425bca271..c6caeb3c4 100644 --- a/test/unit/geometry/closest_point.cpp +++ b/test/unit/geometry/closest_point.cpp @@ -4,6 +4,8 @@ TEST_CASE("geometry closest point") { +#if BOOST_VERSION >= 106200 + SECTION("geometry_empty") { mapnik::geometry::point pt(0, 0); @@ -83,5 +85,5 @@ SECTION("polygon") { REQUIRE(result.distance == 0.0); } } - +#endif }