dynamic exceptions deprecated in c++11 and removed in c++17 (http://en.cppreference.com/w/cpp/language/except_spec)

This commit is contained in:
artemp 2017-01-06 19:06:49 +01:00 committed by Dane Springmeyer
parent 85da8ef128
commit 0cd3bd8737

View file

@ -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<std::string> 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<color> 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())
{