revert unintended change

This commit is contained in:
Dane Springmeyer 2011-02-25 21:02:33 +00:00
parent 03ee4570be
commit 4206c46f58

View file

@ -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