diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-01 11:11:20 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-02 15:09:22 +0100 |
commit | 8bd2e6d0d497da9362038d5e852cea1091d3622c (patch) | |
tree | 084ab5d74578901e441ea7c96f07a53664d9b94b /tests/auto/corelib/kernel/qobject/tst_qobject.cpp | |
parent | 453f4692162eed17d4f618beddc5eb27e123f6eb (diff) |
Fix clang-cl build of tst_qobject
Not MSVC, but pretends to be.
Pick-to: 6.3 6.2
Change-Id: I5c201dd917e79a22d6ef15715bf1d3a7010d123e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/kernel/qobject/tst_qobject.cpp')
-rw-r--r-- | tests/auto/corelib/kernel/qobject/tst_qobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp index 2e34099e5b..bf30282822 100644 --- a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp +++ b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp @@ -7337,7 +7337,7 @@ void tst_QObject::checkArgumentsForNarrowing() // GCC, GHS and clang don't implement this properly yet: // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99625 // https://bugs.llvm.org/show_bug.cgi?id=49676 -#if defined(Q_CC_MSVC) // at least since VS2017 +#if defined(Q_CC_MSVC) && !defined(Q_CC_CLANG) // at least since VS2017 struct ConstructibleFromInt { /* implicit */ ConstructibleFromInt(int) {} }; |