From 84a9b009e71857192a2e7edbd569393231748b7c Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 25 Nov 2011 09:54:18 +0100 Subject: [PATCH] QMetaTypeInterface: Fix warning about multiple default Constructors MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Ifc806d63a743c68ce830f44f14dd1434bbdbc40e Reviewed-by: Jędrzej Nowacki --- src/corelib/kernel/qmetatype_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/kernel/qmetatype_p.h b/src/corelib/kernel/qmetatype_p.h index 205516d..92311af 100644 --- a/src/corelib/kernel/qmetatype_p.h +++ b/src/corelib/kernel/qmetatype_p.h @@ -142,7 +142,7 @@ private: }; public: template - QMetaTypeInterface(T * = 0) + explicit QMetaTypeInterface(T *) : creator(reinterpret_cast(Impl::creator)) , deleter(reinterpret_cast(Impl::deleter)) #ifndef QT_NO_DATASTREAM -- 2.7.4