diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2009-09-23 09:01:43 (GMT) |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2009-09-23 09:01:43 (GMT) |
commit | d97256d956ce649df271cb5c7f24029649a061f3 (patch) | |
tree | f293399a42c35724eb939ea9c128f4b015eeee99 /src/declarative/qml/qmlcomponent.h | |
parent | c646730ca4ef1795973d578a95413ab4c4671a93 (diff) | |
download | Qt-d97256d956ce649df271cb5c7f24029649a061f3.zip Qt-d97256d956ce649df271cb5c7f24029649a061f3.tar.gz Qt-d97256d956ce649df271cb5c7f24029649a061f3.tar.bz2 |
Make QmlCompositeTypeData a class instead of a struct
This fixes a warning of msvc that apparently doesn't like a struct
(QmlCompositeTypeData) extending a class (QmlRefCount):
"warning C4099: 'QmlCompositeTypeData' : type name first seen
using 'class' now seen using 'struct'"
Diffstat (limited to 'src/declarative/qml/qmlcomponent.h')
-rw-r--r-- | src/declarative/qml/qmlcomponent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcomponent.h b/src/declarative/qml/qmlcomponent.h index af250e5..c6924e3 100644 --- a/src/declarative/qml/qmlcomponent.h +++ b/src/declarative/qml/qmlcomponent.h @@ -106,7 +106,7 @@ private: QmlComponent(QmlEngine *, QmlCompiledData *, int, int, QObject *parent); friend class QmlVME; - friend struct QmlCompositeTypeData; + friend class QmlCompositeTypeData; }; QT_END_NAMESPACE |