revert unintended change
This commit is contained in:
parent
03ee4570be
commit
4206c46f58
1 changed files with 5 additions and 5 deletions
|
@ -99,8 +99,8 @@ boost::optional<marker_ptr> marker_cache::find(std::string const& uri, bool upda
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//try
|
try
|
||||||
//{
|
{
|
||||||
std::auto_ptr<mapnik::image_reader> reader(mapnik::get_image_reader(uri));
|
std::auto_ptr<mapnik::image_reader> reader(mapnik::get_image_reader(uri));
|
||||||
if (reader.get())
|
if (reader.get())
|
||||||
{
|
{
|
||||||
|
@ -116,12 +116,12 @@ boost::optional<marker_ptr> marker_cache::find(std::string const& uri, bool upda
|
||||||
cache_.insert(std::make_pair(uri,*result));
|
cache_.insert(std::make_pair(uri,*result));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//}
|
}
|
||||||
|
|
||||||
/*catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
std::cerr << "Exception caught while loading image: " << uri << std::endl;
|
std::cerr << "Exception caught while loading image: " << uri << std::endl;
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue