mirror of
https://github.com/Z3Prover/z3
synced 2025-09-13 21:21:27 +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
|
@ -112,7 +112,7 @@ namespace nlsat {
|
|||
m_perm(perm),
|
||||
m_proc(0) {
|
||||
}
|
||||
std::ostream& operator()(std::ostream & out, var x) const {
|
||||
std::ostream& operator()(std::ostream & out, var x) const override {
|
||||
if (m_proc == 0)
|
||||
m_default_display_var(out, x);
|
||||
else
|
||||
|
@ -2699,7 +2699,7 @@ namespace nlsat {
|
|||
var m_x;
|
||||
public:
|
||||
mathematica_var_proc(var x):m_x(x) {}
|
||||
virtual std::ostream& operator()(std::ostream & out, var x) const {
|
||||
std::ostream& operator()(std::ostream & out, var x) const override {
|
||||
if (m_x == x)
|
||||
return out << "#1";
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue