mark custom hash functions as noexcept

* spot/misc/bitvect.cc, spot/misc/bitvect.hh, spot/misc/hash.hh,
spot/twa/acc.hh, spot/twaalgos/cobuchi.cc, spot/twaalgos/degen.cc,
spot/twaalgos/determinize.cc, spot/twaalgos/parity.cc,
spot/twaalgos/powerset.cc, spot/twaalgos/product.cc,
spot/twaalgos/stutter.cc, spot/twaalgos/totgba.cc,
spot/twaalgos/toweak.cc: Mark hash function as noexcept to please GCC
snapshot.
This commit is contained in:
Alexandre Duret-Lutz 2018-01-09 17:00:30 +01:00
parent 7f5c1d3707
commit 31387e8f71
13 changed files with 32 additions and 31 deletions

View file

@ -446,7 +446,7 @@ namespace spot
struct st2gba_state_hash
{
size_t
operator()(const st2gba_state& s) const
operator()(const st2gba_state& s) const noexcept
{
std::hash<acc_cond::mark_t> h;
return s.s ^ h(s.pend);