c++ style

This commit is contained in:
Dane Springmeyer 2013-03-15 16:52:02 -07:00
parent 7d868558d7
commit f759964dbf
2 changed files with 3 additions and 3 deletions

View file

@ -186,7 +186,7 @@ void feature_style_processor<Processor>::apply(double scale_denom)
} }
} }
} }
catch (proj_init_error& ex) catch (proj_init_error const& ex)
{ {
MAPNIK_LOG_ERROR(feature_style_processor) << "feature_style_processor: proj_init_error=" << ex.what(); MAPNIK_LOG_ERROR(feature_style_processor) << "feature_style_processor: proj_init_error=" << ex.what();
} }
@ -228,7 +228,7 @@ void feature_style_processor<Processor>::apply(mapnik::layer const& lyr,
names); names);
} }
} }
catch (proj_init_error& ex) catch (proj_init_error const& ex)
{ {
MAPNIK_LOG_ERROR(feature_style_processor) << "feature_style_processor: proj_init_error=" << ex.what(); MAPNIK_LOG_ERROR(feature_style_processor) << "feature_style_processor: proj_init_error=" << ex.what();
} }

View file

@ -420,7 +420,7 @@ void Map::zoom_all()
} }
} }
} }
catch (proj_init_error & ex) catch (proj_init_error const& ex)
{ {
throw mapnik::config_error(std::string("Projection error during map.zoom_all: ") + ex.what()); throw mapnik::config_error(std::string("Projection error during map.zoom_all: ") + ex.what());
} }