fix a gcc-snapshot -Wnoexcept diagnostic
* spot/misc/hash.hh (ptr_hash): Add noexcept on constructor to please gcc-snapshot.
This commit is contained in:
parent
c5424e1c84
commit
1679d05bcd
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- coding: utf-8 -*-
|
// -*- coding: utf-8 -*-
|
||||||
// Copyright (C) 2008, 2011, 2014, 2015, 2018 Laboratoire de Recherche et
|
// Copyright (C) 2008, 2011, 2014, 2015-2018, 2021 Laboratoire de
|
||||||
// Développement de l'Epita (LRDE).
|
// Recherche et Développement de l'Epita (LRDE).
|
||||||
// Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de
|
// Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de
|
||||||
// Paris 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
|
// Paris 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
|
||||||
// Université Pierre et Marie Curie.
|
// Université Pierre et Marie Curie.
|
||||||
|
|
@ -41,7 +41,7 @@ namespace spot
|
||||||
// A default constructor is needed if the ptr_hash object is
|
// A default constructor is needed if the ptr_hash object is
|
||||||
// stored in a const member. This occur with the clang version
|
// stored in a const member. This occur with the clang version
|
||||||
// installed by OS X 10.9.
|
// installed by OS X 10.9.
|
||||||
ptr_hash()
|
ptr_hash() noexcept
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue