summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-03-06 12:21:30 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-03-06 12:22:56 +0000
commitf5e16ab0e1e153ec86f0d8651571e176ac6caa7c (patch)
tree4c8dd8e11c42a636914e531c4d37068ca22ce03f /src/script
parent0a29d74a5e875ad2e0229ed2c8e48344f87a45e0 (diff)
downloadqtscript-f5e16ab0e1e153ec86f0d8651571e176ac6caa7c.tar.gz
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. One is even a protected ctor. Change-Id: I114b26332ba0e2752f5d02ebcd6090fc2b562b40 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/script')
-rw-r--r--src/script/api/qscriptengine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/qscriptengine.h b/src/script/api/qscriptengine.h
index c9c0f7d..80a2869 100644
--- a/src/script/api/qscriptengine.h
+++ b/src/script/api/qscriptengine.h
@@ -264,7 +264,7 @@ protected:
QScriptEngine(QScriptEnginePrivate &dd);
#else
- QScriptEngine(QScriptEnginePrivate &dd, QObject *parent = Q_NULLPTR);
+ explicit QScriptEngine(QScriptEnginePrivate &dd, QObject *parent = Q_NULLPTR);
#endif
private: