Skip to content

Commit 9d78e06

Browse files
committed
fix warnings in assert.hpp
1 parent ff405fc commit 9d78e06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/cpp_common/assert.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ class AssertFailedException : public std::exception {
143143
const std::string str; ///< Holds what() we got as message
144144

145145
public:
146-
const char *what() const throw() override;
146+
const char *what() const noexcept override;
147147
explicit AssertFailedException(std::string msg);
148-
~AssertFailedException() throw() override {}
148+
~AssertFailedException() noexcept override {}
149149
};
150150

151151
#endif // INCLUDE_CPP_COMMON_ASSERT_HPP_

0 commit comments

Comments
 (0)