Skip to content

Commit e1cf8e7

Browse files
nehebkjellahl
authored andcommitted
clang-tidy: replace throw() with noexcept
Found with modernize-use-noexcept Signed-off-by: Rosen Penev <rosenp@gmail.com>
1 parent 77becea commit e1cf8e7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/sax_exception/myparser.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ MyException::MyException()
3030
{
3131
}
3232

33-
MyException::~MyException() throw ()
34-
{
35-
}
33+
MyException::~MyException() noexcept = default;
3634

3735
void MyException::raise() const
3836
{

0 commit comments

Comments
 (0)