From 4206c46f5860f61b2d603abee39eb14f22844975 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 25 Feb 2011 21:02:33 +0000 Subject: [PATCH] revert unintended change --- src/marker_cache.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/marker_cache.cpp b/src/marker_cache.cpp index f8720c628..16a1d1e63 100644 --- a/src/marker_cache.cpp +++ b/src/marker_cache.cpp @@ -99,8 +99,8 @@ boost::optional marker_cache::find(std::string const& uri, bool upda } else { - //try - //{ + try + { std::auto_ptr reader(mapnik::get_image_reader(uri)); if (reader.get()) { @@ -116,12 +116,12 @@ boost::optional marker_cache::find(std::string const& uri, bool upda cache_.insert(std::make_pair(uri,*result)); } } - //} + } - /*catch (...) + catch (...) { std::cerr << "Exception caught while loading image: " << uri << std::endl; - }*/ + } } } else