rename open
to is_open
in utils/mapnik-index/process_geojson_file.cpp
This commit is contained in:
parent
8f9134c72d
commit
35190e81e0
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ std::pair<bool,box2d<double>> process_geojson_file(T & boxes, std::string const&
|
||||||
char const* end = start + mapped_region->get_size();
|
char const* end = start + mapped_region->get_size();
|
||||||
#else
|
#else
|
||||||
mapnik::util::file file(filename);
|
mapnik::util::file file(filename);
|
||||||
if (!file.open())
|
if (!file)
|
||||||
{
|
{
|
||||||
std::clog << "Error : cannot open " << filename << std::endl;
|
std::clog << "Error : cannot open " << filename << std::endl;
|
||||||
return std::make_pair(false, extent);
|
return std::make_pair(false, extent);
|
||||||
|
|
Loading…
Reference in a new issue