add missing throw
This commit is contained in:
parent
f878989b2e
commit
d139e491c2
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue