From 1679d05bcdcce39fa107d21cd461a455452afddb Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Mon, 5 Jul 2021 16:00:57 +0200 Subject: [PATCH] fix a gcc-snapshot -Wnoexcept diagnostic * spot/misc/hash.hh (ptr_hash): Add noexcept on constructor to please gcc-snapshot. --- spot/misc/hash.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spot/misc/hash.hh b/spot/misc/hash.hh index cc5e93ef5..52b603c66 100644 --- a/spot/misc/hash.hh +++ b/spot/misc/hash.hh @@ -1,6 +1,6 @@ // -*- coding: utf-8 -*- -// Copyright (C) 2008, 2011, 2014, 2015, 2018 Laboratoire de Recherche et -// Développement de l'Epita (LRDE). +// Copyright (C) 2008, 2011, 2014, 2015-2018, 2021 Laboratoire de +// Recherche et Développement de l'Epita (LRDE). // Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de // Paris 6 (LIP6), département Systèmes Répartis Coopératifs (SRC), // Université Pierre et Marie Curie. @@ -41,7 +41,7 @@ namespace spot // A default constructor is needed if the ptr_hash object is // stored in a const member. This occur with the clang version // installed by OS X 10.9. - ptr_hash() + ptr_hash() noexcept { }