From bc0ad924a6c95316eaad3e43dcf8d7edc90a6792 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 17 Apr 2015 08:46:11 +0200 Subject: Fix forward declaration of QQmlSourceLocation. Fix warning: qtdeclarative/src/qml/qml/qqmljavascriptexpression_p.h(55) : warning C4099: 'QQmlSourceLocation' : type name first seen using 'struct' now seen using 'class' Change-Id: Id441502913180631fe09c2f256498063c8f144b1 Reviewed-by: Simon Hausmann --- src/qml/qml/qqmljavascriptexpression_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/qml') diff --git a/src/qml/qml/qqmljavascriptexpression_p.h b/src/qml/qml/qqmljavascriptexpression_p.h index cbbd88f1fc..989d5a0b0d 100644 --- a/src/qml/qml/qqmljavascriptexpression_p.h +++ b/src/qml/qml/qqmljavascriptexpression_p.h @@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE -class QQmlSourceLocation; +struct QQmlSourceLocation; class QQmlDelayedError { -- cgit v1.2.3