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>
This commit is contained in:
parent
11aa64b1a1
commit
b719bd498e
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user