diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-03-22 11:24:23 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-03-22 12:57:23 +0000 |
commit | 0a1697302c15c0911bd2c78da3cd47a4006fe5f8 (patch) | |
tree | b9b0c7e9c0b9a851bcb4ea30570f1f36af5187c2 | |
parent | 8676559bee9c849a6e1950b786da59eaafd2b1cc (diff) |
Make more ctors explicit
Added explicit where it was missing. This is not a source-
incompatible change, because code that breaks by this is
a bug. Let's not have this sitting around in an LTS.
This change only affects C++11.
Change-Id: I01ef7f6c26c8087e8516c9d66067060a6ed7c020
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
-rw-r--r-- | src/androidextras/jni/qandroidjniobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/androidextras/jni/qandroidjniobject.h b/src/androidextras/jni/qandroidjniobject.h index 73fa68a..e52c9f7 100644 --- a/src/androidextras/jni/qandroidjniobject.h +++ b/src/androidextras/jni/qandroidjniobject.h @@ -48,9 +48,9 @@ class Q_ANDROIDEXTRAS_EXPORT QAndroidJniObject public: QAndroidJniObject(); explicit QAndroidJniObject(const char *className); - QAndroidJniObject(const char *className, const char *sig, ...); + explicit QAndroidJniObject(const char *className, const char *sig, ...); explicit QAndroidJniObject(jclass clazz); - QAndroidJniObject(jclass clazz, const char *sig, ...); + explicit QAndroidJniObject(jclass clazz, const char *sig, ...); QAndroidJniObject(jobject obj); ~QAndroidJniObject(); |