diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-11-06 11:00:28 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-11-07 09:35:11 +0100 |
commit | b8069f0a4783cd80c1b2c44053e054607b066d79 (patch) | |
tree | a1a15b5a0762311c8bb18f81c7abf4a76607c743 /tests | |
parent | a6903f3da80418aca511e230d9c5f2f9e423be7d (diff) |
QProperty: Mark metaType as unused in else branch of createFor()
The metaType is only used in the constexpr if branch where the callable
is not std::is_invocable_v. Therefore, we need to mark it as unused in
order to avoid compile errors in code that exercises the other branch.
Change-Id: I46e855b0f4b0a088f15ff41d4929fe010531b97e
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions