aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2019-01-08 11:02:59 +0100
committerAlex Blasche <alexander.blasche@qt.io>2019-01-08 15:18:23 +0000
commit478d964cac7654d36ccfe5882dd09075bb85442d (patch)
tree43e926054ddeb45668f5a1d3a291fa31e617d568
parent48256a153eefaeb772d3be97b0c19e3402e0e027 (diff)
Fix class vs struct mismatch
In file included from qtbase/include/QtCore/5.12.0/QtCore/private/qjni_p.h:1: qtbase/include/QtCore/5.12.0/QtCore/private/../../../../../src/corelib/kernel/qjni_p.h:68:1: warning: 'QJNIEnvironmentPrivate' defined as a class here but previously declared as a struct [-Wmismatched-tags] class Q_CORE_EXPORT QJNIEnvironmentPrivate ^ jni/qandroidjnienvironment.h:50:1: note: did you mean class here? struct QJNIEnvironmentPrivate; ^~~~~~ class Change-Id: I0df1a4350c50ca920ad7f13978a62913a9702a15 Reviewed-by: Volker Krause <volker.krause@kdab.com> Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com> Reviewed-by: BogDan Vatra <bogdan@kdab.com>
-rw-r--r--src/androidextras/jni/qandroidjnienvironment.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/androidextras/jni/qandroidjnienvironment.h b/src/androidextras/jni/qandroidjnienvironment.h
index 4edf8f4..46d443d 100644
--- a/src/androidextras/jni/qandroidjnienvironment.h
+++ b/src/androidextras/jni/qandroidjnienvironment.h
@@ -47,7 +47,7 @@
QT_BEGIN_NAMESPACE
-struct QJNIEnvironmentPrivate;
+class QJNIEnvironmentPrivate;
class Q_ANDROIDEXTRAS_EXPORT QAndroidJniEnvironment
{