From 37fcae09b8452f0daa252e1eb0839b1e56d8fa7c Mon Sep 17 00:00:00 2001 From: Milian Wolff Date: Thu, 17 Jul 2014 13:06:02 +0200 Subject: Fix compile warning with clang. QWebChannelPrivate was declared as struct, even though it is defined as class later on. Clang emits a warning in such cases. Change-Id: Ia5988d229d41f02493035e2502955e92079f2baf Reviewed-by: Milian Wolff --- src/webchannel/qwebchannel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/webchannel/qwebchannel.h b/src/webchannel/qwebchannel.h index a4f34b4..a65a4ee 100644 --- a/src/webchannel/qwebchannel.h +++ b/src/webchannel/qwebchannel.h @@ -50,7 +50,7 @@ QT_BEGIN_NAMESPACE -struct QWebChannelPrivate; +class QWebChannelPrivate; class QWebChannelAbstractTransport; class Q_WEBCHANNEL_EXPORT QWebChannel : public QObject -- cgit v1.2.1