no need to throw std::runtime_error as ellipsis catch (...) {}
catches them all.
(TODO: consider having finer grained catches e.g expectation_failure)
This commit is contained in:
parent
0bddff6977
commit
c5f3e6c654
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ bool parse_path(const char* wkt, PathType& p)
|
|||
if (!x3::phrase_parse(first, last, grammar, space_type())
|
||||
|| first != last)
|
||||
{
|
||||
throw std::runtime_error("Failed to parse svg-path");
|
||||
throw;
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
|
|
Loading…
Reference in a new issue