diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-06-07 14:54:20 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-06-17 11:58:27 +0200 |
commit | 68b855c215865a865672e2a43a70b2033e97a0f3 (patch) | |
tree | c1bf26cc31850f65b1dfcc3f497f71086dd96db3 /src/corelib/kernel/qvariant.h | |
parent | c2839843f23fb5c289175cb9577981d48dd273fc (diff) |
Universally pass QMetaType by value
... and add Qt7 TODOs where we can't because of BC.
Change-Id: Idce8b677ae95231e1690ac4265dc6f06818052e7
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/kernel/qvariant.h')
-rw-r--r-- | src/corelib/kernel/qvariant.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qvariant.h b/src/corelib/kernel/qvariant.h index 9ebdbc4a18..ae39946cc3 100644 --- a/src/corelib/kernel/qvariant.h +++ b/src/corelib/kernel/qvariant.h @@ -666,6 +666,7 @@ namespace QtPrivate { class Q_CORE_EXPORT QVariantTypeCoercer { public: + // ### Qt7: Pass QMetaType as value rather than const ref. const void *convert(const QVariant &value, const QMetaType &type); const void *coerce(const QVariant &value, const QMetaType &type); |