diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2012-05-23 03:49:57 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-25 21:49:21 +0200 |
commit | 09f20e75a4556e9c2f24db8606def88770e6f5df (patch) | |
tree | 79ab22178fe6168022aa5297ca69e954b8590ebc /src/corelib/tools/qhash.cpp | |
parent | c31681ab623297ce767d78d68b04ccf551607ef1 (diff) |
Replace `const QLatin1String &` with `QLatin1String` where appropriate
Task-Id: QTBUG-24502
Change-Id: I360dee4dc68c165de0631ce4cf34e76fd873080e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qhash.cpp')
-rw-r--r-- | src/corelib/tools/qhash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qhash.cpp b/src/corelib/tools/qhash.cpp index cc8f5beca5..fb566333ac 100644 --- a/src/corelib/tools/qhash.cpp +++ b/src/corelib/tools/qhash.cpp @@ -140,7 +140,7 @@ uint qHash(const QBitArray &bitArray, uint seed) return result; } -uint qHash(const QLatin1String &key, uint seed) +uint qHash(QLatin1String key, uint seed) { return hash(reinterpret_cast<const uchar *>(key.data()), key.size(), seed); } @@ -655,7 +655,7 @@ void QHashData::checkSanity() \fn uint qHash(const QBitArray &key, uint seed = 0) \fn uint qHash(const QString &key, uint seed = 0) \fn uint qHash(const QStringRef &key, uint seed = 0) - \fn uint qHash(const QLatin1String &key, uint seed = 0) + \fn uint qHash(QLatin1String key, uint seed = 0) \relates QHash \since 5.0 |