QStateMachine: remove unused qHash(QPointer<T>)

Change-Id: Idae3621d1a3cb961e2d46fd58208829651382c11
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
Marc Mutz 2015-06-24 12:43:44 +02:00
parent 5fb8839023
commit 3290330d44

View File

@ -383,10 +383,6 @@ static QList<QAbstractState *> getEffectiveTargetStates(QAbstractTransition *tra
return targetsList; return targetsList;
} }
template <class T>
static uint qHash(const QPointer<T> &p)
{ return qHash(p.data()); }
QStateMachinePrivate::QStateMachinePrivate() QStateMachinePrivate::QStateMachinePrivate()
{ {
isMachine = true; isMachine = true;