diff options
author | Mike Krus <mike.krus@kdab.com> | 2020-05-18 13:57:59 +0100 |
---|---|---|
committer | Mike Krus <mike.krus@kdab.com> | 2020-05-19 10:12:14 +0100 |
commit | 3cda45763fe32fdd574594169212399d84c46b03 (patch) | |
tree | ed240790326fa981b0591e3e7148ad1aed2a9551 /src/core | |
parent | ad238237b73a70867554d84b3c1762da637c210d (diff) |
Silence a few warnings
Missing override, unused variables and functions.
Also fixes qHash API in QNodeID.
Change-Id: Ieb223eb2464780f79050372040f418bb2360c8d5
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/nodes/qnodeid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/nodes/qnodeid.h b/src/core/nodes/qnodeid.h index 0fd81e790..18fb954ef 100644 --- a/src/core/nodes/qnodeid.h +++ b/src/core/nodes/qnodeid.h @@ -106,7 +106,7 @@ typedef QVector<QNodeId> QNodeIdVector; Q_3DCORESHARED_EXPORT QDebug operator<<(QDebug d, QNodeId id); #endif -inline Q_DECL_CONSTEXPR uint qHash(QNodeId id, uint seed = 0) Q_DECL_NOTHROW +inline Q_DECL_CONSTEXPR size_t qHash(QNodeId id, size_t seed = 0) Q_DECL_NOTHROW { using QT_PREPEND_NAMESPACE(qHash); return qHash(id.id(), seed); |