diff --git a/test/unit/serialization/wkb_test.cpp b/test/unit/serialization/wkb_test.cpp index 9a3bc1e86..8a617df26 100644 --- a/test/unit/serialization/wkb_test.cpp +++ b/test/unit/serialization/wkb_test.cpp @@ -16,6 +16,7 @@ #include #include +#if BOOST_VERSION >= 105800 namespace { struct spatially_equal_visitor @@ -79,6 +80,7 @@ bool spatially_equal(mapnik::geometry::geometry const& g0, mapnik::geometry:: } } +#endif TEST_CASE("Well-known-geometries") {