3
0
Fork 0
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:
Nikolaj Bjorner 2024-11-04 11:21:55 -08:00
parent 42894f729a
commit 407bad3693
4 changed files with 8 additions and 8 deletions

View file

@ -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