Avoid using c++14 extensions as v3.0.x should only require c++11 compliant compiler (fixes #3645).
This commit is contained in:
parent
635af3f4a3
commit
149d2ca0a1
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ TEST_CASE("geojson") {
|
||||||
CHECK(mapnik::util::to_geojson(json_out, geom));
|
CHECK(mapnik::util::to_geojson(json_out, geom));
|
||||||
json.erase(std::remove_if(
|
json.erase(std::remove_if(
|
||||||
std::begin(json), std::end(json),
|
std::begin(json), std::end(json),
|
||||||
[l = std::locale{}](char ch) { return std::isspace(ch, l); }
|
[](char ch) { return std::isspace(ch, std::locale{}); }
|
||||||
), std::end(json));
|
), std::end(json));
|
||||||
REQUIRE(json == json_out);
|
REQUIRE(json == json_out);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue