From 15fb2debb0bde2031948cc729300b004e17b767e Mon Sep 17 00:00:00 2001 From: artemp Date: Thu, 23 Mar 2017 16:21:38 +0000 Subject: [PATCH] fix compilation - auto args in lambda is c++14 oops --- 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 88e89c24e..54722800e 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{}](auto ch) { return std::isspace(ch, l); } + [l = std::locale{}](char ch) { return std::isspace(ch, l); } ), std::end(json)); REQUIRE(json == json_out); }