summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qhash.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-08-12 15:53:52 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-08-13 19:58:40 +0200
commitd4a73d42557fab58fdab87304692062812ad5889 (patch)
treec94f13658a03ea28deb3432256289ba75c4f471f /src/corelib/tools/qhash.cpp
parentd12afeff4097dd78f1311511e0c8f74e1a810d47 (diff)
Another round of using noexcept instead of pre-C++11 defines
A few new files were added with old-school defines. Change-Id: Ieb2c71e094e55102f3f39fb9551823f36863f5f4 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/corelib/tools/qhash.cpp')
-rw-r--r--src/corelib/tools/qhash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qhash.cpp b/src/corelib/tools/qhash.cpp
index 91e5147780..d0c94e6e60 100644
--- a/src/corelib/tools/qhash.cpp
+++ b/src/corelib/tools/qhash.cpp
@@ -393,7 +393,7 @@ static uint siphash(const uint8_t *in, uint inlen, const uint seed)
# define AESHASH
QT_FUNCTION_TARGET(AES)
-static size_t aeshash(const uchar *p, size_t len, size_t seed) Q_DECL_NOTHROW
+static size_t aeshash(const uchar *p, size_t len, size_t seed) noexcept
{
__m128i key;
if (sizeof(size_t) == 8) {