Skip to content
Browse files

add missing throw

  • Loading branch information...
1 parent f878989 commit d139e491c2bc67e416c8f6ea4fd98384fecc0b50 @springmeyer springmeyer committed Jul 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/svg_parser.cpp
View
2 src/svg_parser.cpp
@@ -403,7 +403,7 @@ void svg_parser::parse_path(xmlTextReaderPtr reader)
if (!mapnik::svg::parse_path((const char*) value, path_))
{
- std::runtime_error("can't parse PATH\n");
+ throw std::runtime_error("can't parse PATH\n");
}
path_.end_path();
}

0 comments on commit d139e49

Please sign in to comment.
Something went wrong with that request. Please try again.