Skip to content

Commit

Permalink
[build] Don't use abstract exception (clang error)
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Dec 4, 2013
1 parent bd8ead7 commit 4a98be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/utils/point.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ inline std::basic_istream<C>& operator >> (std::basic_istream<C>& is, basic_vect

if(op != C(',') && op != C('x') && op != C('|') || is.bad())
{
throw std::exception("Not able to convert from stream to vector!");
throw std::runtime_error("Not able to convert from stream to vector!");
}

return is;
Expand Down

0 comments on commit 4a98be8

Please sign in to comment.