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>
bb10
Paul Wicking 2024-02-14 15:03:24 +01:00
parent 6bd85d4a27
commit 8e0274c7a6
1 changed files with 1 additions and 1 deletions

View File

@ -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.