summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qmap.qdoc
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2024-02-14 15:03:24 +0100
committerPaul Wicking <paul.wicking@qt.io>2024-02-26 18:11:28 +0100
commit8e0274c7a6ccd2beae6808019daffa5168744e3e (patch)
tree9da4be433a6840de65cdf4fc401e915f9cbad9d1 /src/corelib/tools/qmap.qdoc
parent6bd85d4a27ba2e934fa76a430f2e1d55c08d379d (diff)
Doc: Add missing return type in QMap documentation
Clang requires return types, and QDoc warns when they're missing. Add the missing return type, and slap on `noexcept` for good measure, as it's part of the signature. Change-Id: Idee32398df4229f0d02be4c90e52b9e8a8ef95ba Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/corelib/tools/qmap.qdoc')
-rw-r--r--src/corelib/tools/qmap.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qmap.qdoc b/src/corelib/tools/qmap.qdoc
index d4779ba28c..0cabf3df38 100644
--- a/src/corelib/tools/qmap.qdoc
+++ b/src/corelib/tools/qmap.qdoc
@@ -1391,7 +1391,7 @@
*/
/*!
- \fn template <class Key, class T> QMap<Key, T>::qHash(const QMap &key, size_t seed)
+ \fn template <class Key, class T> size_t QMap<Key, T>::qHash(const QMap &key, size_t seed) noexcept
\since 6.8
Returns the hash value for \a key, using \a seed to seed the calculation.