From f5e16ab0e1e153ec86f0d8651571e176ac6caa7c Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Sun, 6 Mar 2016 12:21:30 +0100 Subject: 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 --- src/script/api/qscriptengine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script/api/qscriptengine.h') 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: -- cgit v1.2.1