active -Wsuggest-override where supported

* m4/gccwarn.m4: Add the option.
* bin/autfilt.cc, bin/common_output.hh, bin/dstar2tgba.cc,
bin/ltl2tgba.cc, bin/ltl2tgta.cc, bin/ltlcross.cc, bin/ltldo.cc,
bin/ltlfilt.cc, bin/ltlgrind.cc, spot/kripke/kripke.hh,
spot/ltsmin/ltsmin.cc, spot/ta/ta.hh, spot/ta/tgtaproduct.hh,
spot/taalgos/dot.cc, spot/taalgos/reachiter.hh,
spot/taalgos/statessetbuilder.cc, spot/taalgos/stats.cc,
spot/twa/twaproduct.cc, spot/twaalgos/emptiness.cc,
spot/twaalgos/gtec/ce.cc, spot/twaalgos/lbtt.cc,
spot/twaalgos/ndfs_result.hxx, spot/twaalgos/stats.hh,
spot/twaalgos/tau03opt.cc, tests/core/ngraph.cc: Add suggested override
qualifiers.
This commit is contained in:
Alexandre Duret-Lutz 2016-07-27 10:10:50 +02:00
parent da464d8199
commit 64c7036660
26 changed files with 84 additions and 94 deletions

View file

@ -201,10 +201,6 @@ namespace spot
~ta_succ_iterator()
{
}
/// \brief Get the changeset on the transition leading to current successor.
///
/// This is a boolean function of atomic propositions.
virtual bdd cond() const = 0;
};
#ifndef SWIG

View file

@ -60,18 +60,14 @@ namespace spot
~tgta_succ_iterator_product();
// iteration
bool first();
bool next();
bool done() const;
bool first() override;
bool next() override;
bool done() const override;
// inspection
state_product*
dst() const;
bdd
cond() const;
acc_cond::mark_t
acc() const;
state_product* dst() const override;
bdd cond() const override;
acc_cond::mark_t acc() const override;
private:
//@{