diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-06-14 15:04:22 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-15 00:55:53 +0200 |
commit | b719bd498ee179f92bee174a622c7954ed542fd0 (patch) | |
tree | 8255aee97457966fbd6c1d63aae57a12bd0c5b83 | |
parent | 11aa64b1a1450e5189a8a99d58ecceb4322f7d7c (diff) |
Forward-declare QLatin1String too
qhash.h doesn't include qstring.h and was depending on an indirect
inclusion (probably via qpair.h -> qdatastream.h -> qiodevice.h ->
qobject.h -> qstring.h, which I've broken).
Since it forward-declares QString and QStringRef, let's add
QLatin1String too.
Change-Id: I179ebb22f761b88423ef13643afa2e5ce91ef6a2
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
-rw-r--r-- | src/corelib/tools/qhash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qhash.h b/src/corelib/tools/qhash.h index c0e2e6eff5..8f01cd2d91 100644 --- a/src/corelib/tools/qhash.h +++ b/src/corelib/tools/qhash.h @@ -52,11 +52,11 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE - class QBitArray; class QByteArray; class QString; class QStringRef; +class QLatin1String; inline uint qHash(char key, uint seed = 0) { return uint(key) ^ seed; } inline uint qHash(uchar key, uint seed = 0) { return uint(key) ^ seed; } |