Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions include/cpp_common/assert.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,14 @@ class AssertFailedException : public std::exception {
const std::string str; ///< Holds what() we got as message

public:
virtual const char *what() const throw();
const char *what() const throw() override;
explicit AssertFailedException(std::string msg);
virtual ~AssertFailedException() throw() {}
/**
* @brief Destroys the AssertFailedException.
*
* Ensures any resources owned by the exception object are released.
*/
~AssertFailedException() throw() override {}
};

#endif // INCLUDE_CPP_COMMON_ASSERT_HPP_
#endif // INCLUDE_CPP_COMMON_ASSERT_HPP_
Loading