From 149d2ca0a179b06894c62d5a338493ab500b406d Mon Sep 17 00:00:00 2001 From: artemp Date: Wed, 29 Mar 2017 09:58:54 +0100 Subject: [PATCH] Avoid using c++14 extensions as v3.0.x should only require c++11 compliant compiler (fixes #3645). --- test/unit/datasource/geojson.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/datasource/geojson.cpp b/test/unit/datasource/geojson.cpp index 54722800e..7e0ffbea4 100644 --- a/test/unit/datasource/geojson.cpp +++ b/test/unit/datasource/geojson.cpp @@ -139,7 +139,7 @@ TEST_CASE("geojson") { CHECK(mapnik::util::to_geojson(json_out, geom)); json.erase(std::remove_if( 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)); REQUIRE(json == json_out); }