From 3cda45763fe32fdd574594169212399d84c46b03 Mon Sep 17 00:00:00 2001 From: Mike Krus Date: Mon, 18 May 2020 13:57:59 +0100 Subject: Silence a few warnings Missing override, unused variables and functions. Also fixes qHash API in QNodeID. Change-Id: Ieb223eb2464780f79050372040f418bb2360c8d5 Reviewed-by: Paul Lemire --- src/core/nodes/qnodeid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') 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 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); -- cgit v1.2.3