Add noexcept to std::hash specialisation for BackendId
This fixes a warning reported by gcc 8.3 with -Wextra
Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com>
Change-Id: I5aad9fe201545d8c87ace9d24e53e900289986b8
diff --git a/include/armnn/BackendId.hpp b/include/armnn/BackendId.hpp
index 59d4ac1..00ece37 100644
--- a/include/armnn/BackendId.hpp
+++ b/include/armnn/BackendId.hpp
@@ -147,7 +147,7 @@
template <>
struct hash<armnn::BackendId>
{
- std::size_t operator()(const armnn::BackendId& id) const
+ std::size_t operator()(const armnn::BackendId& id) const noexcept
{
std::hash<std::string> hasher;
return hasher(id.Get());