qt5base-lts/tests/auto/corelib/tools/qregularexpression
Marc Mutz 87155a8d65 Add qHash(QRegExp) and qHash(QRegularExpression)
QReg*Exp*s can be compared for equality,
so qHash should be overloaded, too.

There was a (poor) private implementation of qHash(QRegExpEngineKey)
already, which has now been replaced with a better one (the old one
didn't take into account all the fields that make up equality,
producing unnecessary collisions).

[ChangeLog][QtCore][QRegExp] Added qHash(QRegExp).
[ChangeLog][QtCore][QRegularExpression] Added qHash(QRegularExpression).

Change-Id: I1d22fbcc0508018a3f94b4c24571b13ba6e07df2
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2015-05-05 13:59:31 +00:00
..
alwaysoptimize Update copyright headers 2015-02-11 06:49:51 +00:00
defaultoptimize Update copyright headers 2015-02-11 06:49:51 +00:00
forceoptimize Update copyright headers 2015-02-11 06:49:51 +00:00
.gitignore QRegularExpression: add ways to force an immediate optimization 2014-05-06 00:10:55 +02:00
qregularexpression.pro QRegularExpression: add ways to force an immediate optimization 2014-05-06 00:10:55 +02:00
tst_qregularexpression.cpp Add qHash(QRegExp) and qHash(QRegularExpression) 2015-05-05 13:59:31 +00:00
tst_qregularexpression.h Update copyright headers 2015-02-11 06:49:51 +00:00