diff options
-rw-r--r-- | src/knx/core/qknxbytearray.cpp | 2 | ||||
-rw-r--r-- | src/knx/netip/qknxnetipstruct.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/knx/core/qknxbytearray.cpp b/src/knx/core/qknxbytearray.cpp index 5b2d3d9..0923272 100644 --- a/src/knx/core/qknxbytearray.cpp +++ b/src/knx/core/qknxbytearray.cpp @@ -923,7 +923,7 @@ QDebug operator<<(QDebug debug, const QKnxByteArray &byteArray) /*! \relates QKnxByteArray - \fn uint qHash(const QKnxByteArray &key, uint seed = 0) + \fn size_t qHash(const QKnxByteArray &key, uint seed = 0) Returns the hash value for the \a key, using \a seed to seed the calculation. */ diff --git a/src/knx/netip/qknxnetipstruct.h b/src/knx/netip/qknxnetipstruct.h index 0e2d196..1f5ff42 100644 --- a/src/knx/netip/qknxnetipstruct.h +++ b/src/knx/netip/qknxnetipstruct.h @@ -157,7 +157,7 @@ Q_KNX_EXPORT QDebug operator<<(QDebug debug, const QKnxNetIpStruct<QKnxNetIp::De Q_KNX_EXPORT QDebug operator<<(QDebug debug, const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> &srp); template <typename CodeType> -Q_DECL_PURE_FUNCTION uint qHash(const QKnxNetIpStruct<CodeType> &key, uint seed = 0) Q_DECL_NOTHROW +Q_DECL_PURE_FUNCTION size_t qHash(const QKnxNetIpStruct<CodeType> &key, uint seed = 0) Q_DECL_NOTHROW { return qHash(key.bytes(), seed); } |