QIcc: remove unneeded internal qHash(QIcc::Tag) overload

Qt has had a qHash() overload for (also scoped) enums since Qt 6.5
(fb4bc5fa262336504e0f28603658bb2572796ce5). Since the hashed type is
internal to the qicc.cpp TU, it doesn't matter whether we change the
result of the hash calculation (but this author assumes we don't).

Pick-to: 6.5
Change-Id: I58238cc13113157438be0951c471f654a838b608
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
(cherry picked from commit 4f5b48d4c69527e5f2450694219432e84b2af6df)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Marc Mutz 2024-10-10 13:25:42 +02:00 committed by Qt Cherry-pick Bot
parent 1896424554
commit a12be9e909

View File

@ -128,11 +128,6 @@ enum class Tag : quint32 {
} // namespace QIcc
inline size_t qHash(const QIcc::Tag &key, size_t seed = 0)
{
return qHash(quint32(key), seed);
}
namespace QIcc {
struct TagTableEntry