Fix MSVC warning about struct vs class declaration
authorKai Koehne <kai.koehne@nokia.com>
Thu, 17 Nov 2011 08:25:44 +0000 (09:25 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 21 Nov 2011 08:43:02 +0000 (09:43 +0100)
Change-Id: I00dc08c746b30f6d49b831989ae1d0d798b430a5
warning: C4099: 'QMetaObject' : type name first seen using 'struct' now seen using 'class'
warning: C4099: 'QV4Program' : type name first seen using 'class' now seen using 'struct'`
Reviewed-by: Martin Jones <martin.jones@nokia.com>

src/declarative/qml/ftw/qfastmetabuilder_p.h
src/declarative/qml/v4/qv4bindings_p.h

index a207467..770abb3 100644 (file)
@@ -61,7 +61,7 @@
 
 QT_BEGIN_NAMESPACE
 
-class QMetaObject;
+struct QMetaObject;
 class QFastMetaBuilder
 {
 public:
index 603d05d..6bb15e4 100644 (file)
@@ -61,7 +61,7 @@ QT_BEGIN_HEADER
 
 QT_BEGIN_NAMESPACE
 
-class QV4Program;
+struct QV4Program;
 class QV4Bindings : public QDeclarativeAbstractExpression, 
                                public QDeclarativeRefCount
 {