From a11f4e4318b3b9d04faf533b68809937fb2208e2 Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Tue, 30 Apr 2013 15:21:26 -0700 Subject: [PATCH] Fix VS2010 compile warning warning C4510: 'QQmlPrivate::RegisterCompositeType' : default constructor could not be generated Task-number: QTBUG-30454 Change-Id: I16ec8995ac1df3c92353006473ca082c4ed4e5b7 Reviewed-by: Josh Faust Reviewed-by: Thiago Macieira --- src/qml/qml/qqmlprivate.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/qml/qml/qqmlprivate.h b/src/qml/qml/qqmlprivate.h index 570435a..b5b11d2 100644 --- a/src/qml/qml/qqmlprivate.h +++ b/src/qml/qml/qqmlprivate.h @@ -253,7 +253,7 @@ namespace QQmlPrivate }; struct RegisterCompositeType { - const QUrl &url; + QUrl url; const char *uri; int versionMajor; int versionMinor; -- 1.7.2.5