chore(library/blast): use "override" consistently for proof_step objects

This commit is contained in:
Leonardo de Moura 2015-11-16 18:30:59 -08:00
parent 38436468e2
commit 4dc27fb43b
7 changed files with 7 additions and 7 deletions

View file

@ -24,7 +24,7 @@ struct backward_proof_step_cell : public proof_step_cell {
virtual ~backward_proof_step_cell() {}
virtual action_result resolve(expr const & pr) const {
virtual action_result resolve(expr const & pr) const override {
state & s = curr_state();
s.set_branch(m_branch);
expr mvar = head(m_mvars);

View file

@ -15,7 +15,7 @@ namespace blast {
struct intros_proof_step_cell : public proof_step_cell {
list<expr> m_new_hs;
virtual ~intros_proof_step_cell() {}
virtual action_result resolve(expr const & pr) const {
virtual action_result resolve(expr const & pr) const override {
expr new_pr = mk_proof_lambda(curr_state(), m_new_hs, pr);
return action_result::solved(new_pr);
}

View file

@ -18,7 +18,7 @@ struct no_confusion_proof_step_cell : public proof_step_cell {
m_I_name(I_name), m_target(t), m_eq_href(e), m_num_new_eqs(n) {}
virtual ~no_confusion_proof_step_cell() {}
virtual action_result resolve(expr const & pr) const {
virtual action_result resolve(expr const & pr) const override {
try {
expr it = pr;
bool skip = true;

View file

@ -63,7 +63,7 @@ struct recursor_proof_step_cell : public proof_step_cell {
virtual ~recursor_proof_step_cell() {}
virtual action_result resolve(expr const & pr) const {
virtual action_result resolve(expr const & pr) const override {
state & s = curr_state();
s.set_branch(m_branch);
if (!m_dep) {

View file

@ -15,7 +15,7 @@ struct revert_proof_step_cell : public proof_step_cell {
virtual ~revert_proof_step_cell() {}
virtual action_result resolve(expr const & pr) const {
virtual action_result resolve(expr const & pr) const override {
expr new_pr = mk_app(pr, m_hs);
return action_result::solved(new_pr);
}

View file

@ -24,7 +24,7 @@ public:
virtual ~simplify_target_proof_step_cell() {}
virtual action_result resolve(expr const & pr) const {
virtual action_result resolve(expr const & pr) const override {
try {
app_builder & b = get_app_builder();
if (m_iff)

View file

@ -21,7 +21,7 @@ struct subst_proof_step_cell : public proof_step_cell {
m_target(t), m_eq_href(e), m_rhs(r), m_dep(d) {}
virtual ~subst_proof_step_cell() {}
virtual action_result resolve(expr const & pr) const {
virtual action_result resolve(expr const & pr) const override {
try {
state & s = curr_state();
app_builder & b = get_app_builder();