From 3290330d44015f7eb42b5a10291e23363fef8c0e Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 24 Jun 2015 12:43:44 +0200 Subject: [PATCH] QStateMachine: remove unused qHash(QPointer) Change-Id: Idae3621d1a3cb961e2d46fd58208829651382c11 Reviewed-by: Olivier Goffart (Woboq GmbH) --- src/corelib/statemachine/qstatemachine.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/corelib/statemachine/qstatemachine.cpp b/src/corelib/statemachine/qstatemachine.cpp index ad34e54d2c..3e513459ff 100644 --- a/src/corelib/statemachine/qstatemachine.cpp +++ b/src/corelib/statemachine/qstatemachine.cpp @@ -383,10 +383,6 @@ static QList getEffectiveTargetStates(QAbstractTransition *tra return targetsList; } -template -static uint qHash(const QPointer &p) -{ return qHash(p.data()); } - QStateMachinePrivate::QStateMachinePrivate() { isMachine = true;