diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-01-20 17:01:51 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-01-23 23:11:50 +0100 |
commit | 0842b01f0269cdd8099a5fbe849c5c2876a0d744 (patch) | |
tree | 3babb6f6cad2d8a27cc972c1d2a9f805c26c97cb /src/corelib/global/qlibraryinfo.cpp | |
parent | 228b5dd0741512bfa3796c9388169cc12617b823 (diff) |
QProperty: Work around constexpr issues on MSVC
MSVC complains about illegal uses of void, even though the code should
be guarded by an if constexpr statement.
qproperty.h(85): error C2182: 'val': illegal use of type 'void'
qproperty.h(92): error C2182: 'abstract declarator': illegal use of type 'void'
Avoid the issue by using a dedicated dummy type instead of void.
Fixes: QTBUG-100072
Task-number: QTQAINFRA-4242
Pick-to: 6.3 6.2
Change-Id: Idc4886c26c3794e709eb762ba836139f720f8133
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/global/qlibraryinfo.cpp')
0 files changed, 0 insertions, 0 deletions