Commit eb537431 authored by Steffen Müthing's avatar Steffen Müthing

[c++] hash value calculation must be noexcept

GCC 7 is unhappy that `hash_value()` (which is used by dune-common to
provide a `std::hash` implementation) might throw an exception. As we
only forward to `std::hash` and that is in turn guaranteed to be
`noexcept`, we can just claim the same.
parent 3a6c1014
Pipeline #2369 failed with stage
in 71 minutes and 1 second
......@@ -73,7 +73,7 @@ public:
*
* \ingroup FunctionSpaceBasesUtilities
*/
inline friend std::size_t hash_value(const FlatMultiIndex& arg)
inline friend std::size_t hash_value(const FlatMultiIndex& arg) noexcept
{
return std::hash<size_type>()(arg);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment