Forward declare QMetaObject as a struct.
Fixes compiler warnings with clang and others. Change-Id: I726d4c10644287bb642c8b5dd28172afe8c4d1ea Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
0042b5f0f2
commit
8687cf1f99
|
|
@ -180,7 +180,7 @@ QT_BEGIN_NAMESPACE
|
|||
|
||||
class QDataStream;
|
||||
class QMetaTypeInterface;
|
||||
class QMetaObject;
|
||||
struct QMetaObject;
|
||||
|
||||
class Q_CORE_EXPORT QMetaType {
|
||||
enum ExtensionFlag { NoExtensionFlags,
|
||||
|
|
|
|||
Loading…
Reference in New Issue