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:
parent
2b847478a2
commit
b7d1753843
138 changed files with 1621 additions and 1624 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue