diff options
author | Albert Astals Cid <aacid@kde.org> | 2021-08-21 21:46:00 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2021-08-27 16:11:53 +0200 |
commit | 6aff5bbbfe06c70314ba7ea936d98aed0e48331f (patch) | |
tree | 6e69834989b2b1560b170906215be75a7d82d139 /qt6/tests/check_dateConversion.cpp | |
parent | 646a1519d965895a4126b4e5f6fee2102d9c38a6 (diff) |
CI: Enable google-explicit-constructor
I was doing some refactoring before and was hit by one of the
constructors being magically called when i didn't want that.
Since we don't really on it (was just used in some of the explicit type
conversions) I think it makes sense to enable
And 2 small qt6 clang-tidy fixes because we don't have qt6 on
the clang-tidy CI yet
There's 2 potentially source incompatible changes in the qt frontend,
but i really really hope noone was using the constructors that way
Diffstat (limited to 'qt6/tests/check_dateConversion.cpp')
-rw-r--r-- | qt6/tests/check_dateConversion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt6/tests/check_dateConversion.cpp b/qt6/tests/check_dateConversion.cpp index 69be1724..d675a405 100644 --- a/qt6/tests/check_dateConversion.cpp +++ b/qt6/tests/check_dateConversion.cpp @@ -9,7 +9,7 @@ class TestDateConv : public QObject { Q_OBJECT public: - TestDateConv(QObject *parent = nullptr) : QObject(parent) { } + explicit TestDateConv(QObject *parent = nullptr) : QObject(parent) { } private slots: void initTestCase(); |