Skip to content

Commit efbb115

Browse files
committed
Fixed another Qt6 warning
1 parent 3d7c2b4 commit efbb115

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/irisnet/noncore/iceagent.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ struct Foundation {
1818
};
1919
};
2020

21+
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
2122
inline uint qHash(const Foundation &f, uint seed = 0)
23+
#else
24+
inline size_t qHash(const Foundation &f, size_t seed = 0)
25+
#endif
2226
{
2327
auto tmp = uint(f.stunRequestProto) & (uint(f.type) << 8);
2428
return qHash(f.baseAddr, seed) ^ qHash(f.stunServAddr, seed) ^ tmp;

0 commit comments

Comments
 (0)