diff options
author | Kimmo Ollila <kimmo.ollila@qt.io> | 2021-02-08 09:58:19 +0200 |
---|---|---|
committer | Kimmo Ollila <kimmo.ollila@qt.io> | 2021-02-16 08:20:42 +0200 |
commit | cf08673836c7d26f8eab7054cfa8d46ef8e0121c (patch) | |
tree | 79771983fc2a4699e423d43992c39f8824211a07 | |
parent | 71eef476d789bf94602006cc2c9a44ba384f988e (diff) |
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>
-rw-r--r-- | src/corelib/tools/qringbuffer_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qringbuffer_p.h b/src/corelib/tools/qringbuffer_p.h index ec8d296a81..bae3810875 100644 --- a/src/corelib/tools/qringbuffer_p.h +++ b/src/corelib/tools/qringbuffer_p.h @@ -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 |