3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-19 17:50:23 +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

@ -33,8 +33,8 @@ class z3_error : public z3_exception {
unsigned m_error_code;
public:
z3_error(unsigned error_code);
virtual char const * msg() const;
virtual unsigned error_code() const;
char const * msg() const override;
unsigned error_code() const override;
};
class default_exception : public z3_exception {
@ -43,8 +43,8 @@ public:
struct fmt {};
default_exception(std::string const& msg);
default_exception(fmt, char const* msg, ...);
virtual ~default_exception() {}
virtual char const * msg() const;
~default_exception() override {}
char const * msg() const override;
};
#endif