3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-11 05:30:51 +00:00

Use override rather than virtual.

This commit is contained in:
Bruce Mitchener 2018-02-10 09:15:12 +07:00
parent ce123d9dbc
commit 7167fda1dc
220 changed files with 2546 additions and 2548 deletions

View file

@ -1611,7 +1611,7 @@ public:
// 1) Translate ast proof term to Zproof
// 2) Translate Zproof to Iproof
Iproof::node translate(ast proof, Iproof &dst){
Iproof::node translate(ast proof, Iproof &dst) override {
iproof = &dst;
Iproof::node Ipf = translate_main(proof,0); // builds result in dst
return Ipf;
@ -1629,7 +1629,7 @@ public:
traced_lit = ast();
}
~iz3translation_direct(){
~iz3translation_direct() override {
for(hash_map<non_local_lits, non_local_lits *>::iterator
it = non_local_lits_unique.begin(),
en = non_local_lits_unique.end();