Skip to content

Commit 4a98be8

Browse files
committed
[build] Don't use abstract exception (clang error)
1 parent bd8ead7 commit 4a98be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/utils/point.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ inline std::basic_istream<C>& operator >> (std::basic_istream<C>& is, basic_vect
125125

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

131131
return is;

0 commit comments

Comments
 (0)