Fix for compiling with clang with c++11.

Change-Id: Ibb1e3290edbb2bdc68bb8164be6c484e49b9c69e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Erik Verbruggen 2012-11-06 10:09:28 +01:00 committed by The Qt Project
parent 26c7bb2520
commit 1b4df67580

View File

@ -3812,7 +3812,7 @@ struct QRegExpPrivate
}; };
#if !defined(QT_NO_REGEXP_OPTIM) #if !defined(QT_NO_REGEXP_OPTIM)
uint qHash(const QRegExpEngineKey &key, uint seed) uint qHash(const QRegExpEngineKey &key, uint seed = 0) Q_DECL_NOTHROW
{ {
return qHash(key.pattern, seed); return qHash(key.pattern, seed);
} }