mirror of
https://github.com/Z3Prover/z3
synced 2025-08-04 10:20:23 +00:00
add noexcept
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
42894f729a
commit
407bad3693
4 changed files with 8 additions and 8 deletions
|
@ -26,7 +26,7 @@ protected:
|
|||
std::string m_msg;
|
||||
public:
|
||||
tactic_exception(std::string && msg) : m_msg(std::move(msg)) {}
|
||||
char const * what() const override { return m_msg.c_str(); }
|
||||
char const * what() const noexcept override { return m_msg.c_str(); }
|
||||
};
|
||||
|
||||
#define TACTIC_CANCELED_MSG Z3_CANCELED_MSG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue