From 35190e81e0add94e4051b81002c8dcbafdd29275 Mon Sep 17 00:00:00 2001 From: artemp Date: Fri, 18 Mar 2016 10:42:35 +0100 Subject: [PATCH] rename `open` to `is_open` in utils/mapnik-index/process_geojson_file.cpp --- utils/mapnik-index/process_geojson_file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/mapnik-index/process_geojson_file.cpp b/utils/mapnik-index/process_geojson_file.cpp index fb393a938..203c81c67 100644 --- a/utils/mapnik-index/process_geojson_file.cpp +++ b/utils/mapnik-index/process_geojson_file.cpp @@ -82,7 +82,7 @@ std::pair> process_geojson_file(T & boxes, std::string const& char const* end = start + mapped_region->get_size(); #else mapnik::util::file file(filename); - if (!file.open()) + if (!file) { std::clog << "Error : cannot open " << filename << std::endl; return std::make_pair(false, extent);