We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 200101d commit 7b7c422Copy full SHA for 7b7c422
include/cpp_common/assert.hpp
@@ -143,9 +143,9 @@ class AssertFailedException : public std::exception {
143
const std::string str; ///< Holds what() we got as message
144
145
public:
146
- virtual const char *what() const throw();
+ const char *what() const noexcept override;
147
explicit AssertFailedException(std::string msg);
148
- virtual ~AssertFailedException() throw() {}
+ ~AssertFailedException() noexcept override {}
149
};
150
151
#endif // INCLUDE_CPP_COMMON_ASSERT_HPP_
0 commit comments