From 2cc3d82a871e0946264bfe8b48af70cc77dbbada Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 8 Nov 2013 19:13:51 -0800 Subject: [PATCH] iwyu --- src/load_map.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/load_map.cpp b/src/load_map.cpp index 295335daf..b491a4405 100644 --- a/src/load_map.cpp +++ b/src/load_map.cpp @@ -53,6 +53,7 @@ #include #include #include +#include // boost #include @@ -225,7 +226,7 @@ void map_parser::parse_map(Map & map, xml_node const& pt, std::string const& bas // create throwaway projection object here to ensure it is valid projection proj(srs); } - catch (proj_init_error const& ex) + catch (std::exception const& ex) { throw mapnik::config_error(ex.what()); } @@ -578,7 +579,7 @@ void map_parser::parse_layer(Map & map, xml_node const& node) // create throwaway projection object here to ensure it is valid projection proj(srs); } - catch (proj_init_error const& ex) + catch (std::exception const& ex) { throw mapnik::config_error(ex.what()); }