diff --git a/test/unit/datasource/geojson.cpp b/test/unit/datasource/geojson.cpp index d8e8e2a3c..d83f8b762 100644 --- a/test/unit/datasource/geojson.cpp +++ b/test/unit/datasource/geojson.cpp @@ -30,7 +30,6 @@ #include #include -#include #include namespace { @@ -320,7 +319,7 @@ TEST_CASE("geojson") { // cleanup in the case of a failed previous run if (mapnik::util::exists(filename + ".index")) { - boost::filesystem::remove(filename + ".index"); + mapnik::util::remove(filename + ".index"); } for (auto create_index : { true, false }) @@ -387,7 +386,7 @@ TEST_CASE("geojson") { // cleanup in the case of a failed previous run if (mapnik::util::exists(filename + ".index")) { - boost::filesystem::remove(filename + ".index"); + mapnik::util::remove(filename + ".index"); } for (auto create_index : { true, false }) @@ -423,7 +422,7 @@ TEST_CASE("geojson") { // cleanup if (create_index && mapnik::util::exists(filename + ".index")) { - boost::filesystem::remove(filename + ".index"); + mapnik::util::remove(filename + ".index"); } } @@ -439,7 +438,7 @@ TEST_CASE("geojson") { // cleanup in the case of a failed previous run if (mapnik::util::exists(filename + ".index")) { - boost::filesystem::remove(filename + ".index"); + mapnik::util::remove(filename + ".index"); } for (auto create_index : { true, false }) @@ -474,7 +473,7 @@ TEST_CASE("geojson") { // cleanup if (create_index && mapnik::util::exists(filename + ".index")) { - boost::filesystem::remove(filename + ".index"); + mapnik::util::remove(filename + ".index"); } } }