Build fix for GHS Compiler 2020.1.4
Fixes error: explicit specialization of class "QTypeInfo<QRingChunk>" must precede its first use Change-Id: Ib60f8fc1feb97953f5b0eeed63734e81f067d9b3 Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io> Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>bb10
parent
71eef476d7
commit
cf08673836
|
|
@ -174,6 +174,7 @@ private:
|
|||
QByteArray chunk;
|
||||
int headOffset, tailOffset;
|
||||
};
|
||||
Q_DECLARE_SHARED(QRingChunk)
|
||||
|
||||
class QRingBuffer
|
||||
{
|
||||
|
|
@ -266,7 +267,6 @@ private:
|
|||
int basicBlockSize;
|
||||
};
|
||||
|
||||
Q_DECLARE_SHARED(QRingChunk)
|
||||
Q_DECLARE_TYPEINFO(QRingBuffer, Q_RELOCATABLE_TYPE);
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
|
|
|||
Loading…
Reference in New Issue