diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2017-03-27 10:44:52 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-03-28 08:21:20 +0000 |
commit | 73d6c1d5261724df3e753d8c643e47ccbb12caa5 (patch) | |
tree | a348722c28f520b9ded6d804c270a67d20b507e3 | |
parent | cd949a4c571abc3405ca38ab0f4f4164bc1817da (diff) |
Mark protected ctors in QChannelMap* explicit
Change-Id: Ic9f5a75cf9b783b9b0688097970b84870375e648
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
-rw-r--r-- | src/animation/frontend/qchannelmapper.h | 2 | ||||
-rw-r--r-- | src/animation/frontend/qchannelmapping.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/animation/frontend/qchannelmapper.h b/src/animation/frontend/qchannelmapper.h index 399d92d5d..14319f29b 100644 --- a/src/animation/frontend/qchannelmapper.h +++ b/src/animation/frontend/qchannelmapper.h @@ -60,7 +60,7 @@ public: QVector<QChannelMapping *> mappings() const; protected: - QChannelMapper(QChannelMapperPrivate &dd, Qt3DCore::QNode *parent = nullptr); + explicit QChannelMapper(QChannelMapperPrivate &dd, Qt3DCore::QNode *parent = nullptr); private: Q_DECLARE_PRIVATE(QChannelMapper) diff --git a/src/animation/frontend/qchannelmapping.h b/src/animation/frontend/qchannelmapping.h index 0c4ca07f4..d768298fe 100644 --- a/src/animation/frontend/qchannelmapping.h +++ b/src/animation/frontend/qchannelmapping.h @@ -72,7 +72,7 @@ Q_SIGNALS: void propertyChanged(QString property); protected: - QChannelMapping(QChannelMappingPrivate &dd, Qt3DCore::QNode *parent = nullptr); + explicit QChannelMapping(QChannelMappingPrivate &dd, Qt3DCore::QNode *parent = nullptr); private: Q_DECLARE_PRIVATE(QChannelMapping) |