3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-12 06:00:53 +00:00

Use override rather than virtual.

This commit is contained in:
Bruce Mitchener 2018-02-09 21:15:02 +07:00
parent 2b847478a2
commit b7d1753843
138 changed files with 1621 additions and 1624 deletions

View file

@ -27,8 +27,8 @@ protected:
std::string m_msg;
public:
tactic_exception(char const * msg):m_msg(msg) {}
virtual ~tactic_exception() {}
virtual char const * msg() const { return m_msg.c_str(); }
~tactic_exception() override {}
char const * msg() const override { return m_msg.c_str(); }
};
#define TACTIC_CANCELED_MSG Z3_CANCELED_MSG