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>
This commit is contained in:
parent
453f469216
commit
8bd2e6d0d4
@ -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) {}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user