diff --git a/test/unit/serialization/wkb_test.cpp b/test/unit/serialization/wkb_test.cpp index c19b8cdca..8eea6d3bf 100644 --- a/test/unit/serialization/wkb_test.cpp +++ b/test/unit/serialization/wkb_test.cpp @@ -129,8 +129,8 @@ TEST_CASE("Well-known-geometries") geom_3.emplace_back(0,0); geom_3.emplace_back(1,1); geom_3.emplace_back(2,2); - REQUIRE(mapnik::util::to_wkt(wkt0, geom_2)); - REQUIRE(mapnik::util::to_wkt(wkt1, geom_3)); + REQUIRE(mapnik::util::to_wkt(wkt0, mapnik::geometry::geometry(geom_2))); + REQUIRE(mapnik::util::to_wkt(wkt1, mapnik::geometry::geometry(geom_3))); if (!mapnik::geometry::is_empty(geom_2) && !mapnik::geometry::is_empty(geom_3)) { REQUIRE(wkt2 == wkt3);