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:
parent
7f5c1d3707
commit
31387e8f71
13 changed files with 32 additions and 31 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2009-2011, 2013-2017 Laboratoire de Recherche et
|
||||
// Copyright (C) 2009-2011, 2013-2018 Laboratoire de Recherche et
|
||||
// Développement de l'Epita (LRDE).
|
||||
// Copyright (C) 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
|
|
@ -56,7 +56,7 @@ namespace spot
|
|||
|
||||
struct bv_hash
|
||||
{
|
||||
size_t operator()(const bitvect* bv) const
|
||||
size_t operator()(const bitvect* bv) const noexcept
|
||||
{
|
||||
return bv->hash();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue