diff --git a/src/load_map.cpp b/src/load_map.cpp index bf6324d20..08565baa5 100644 --- a/src/load_map.cpp +++ b/src/load_map.cpp @@ -133,7 +133,7 @@ private: void find_unused_nodes_recursive(xml_node const& node, std::string & error_text); std::string ensure_relative_to_xml(boost::optional const& opt_path); void ensure_exists(std::string const& file_path); - void check_styles(Map const & map) const throw (config_error); + void check_styles(Map const & map); boost::optional get_opt_color_attr(boost::property_tree::ptree const& node, std::string const& name); @@ -1691,7 +1691,7 @@ void map_parser::find_unused_nodes_recursive(xml_node const& node, std::string & } } -void map_parser::check_styles(Map const & map) const throw (config_error) +void map_parser::check_styles(Map const & map) { for (auto const & layer : map.layers()) {