fix compilation - auto args in lambda is c++14 oops

This commit is contained in:
artemp 2017-03-23 16:21:38 +00:00
parent fa549b380a
commit 15fb2debb0

View file

@ -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);
}