diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-07-15 21:21:05 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-08-24 00:18:58 +0200 |
commit | 92b37676328a960bc092b1f3834233c550376457 (patch) | |
tree | ac75c61314238e7a6b24751f20d47a222ed97f08 /src/corelib/kernel/qvariant.cpp | |
parent | d0ccb3aaf9052fc20cee08c825d8ccc9ac02fe8e (diff) |
Remove refcounting of QMetaTypeInterface
It's only used for dynamic types in DBUS and QML, where we control
things good enough to be able to handle the lifetime of those
interfaces there.
Change-Id: Ia7f8970d17a85b195db85fcdc2d8f1febd8753f4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qvariant.cpp')
-rw-r--r-- | src/corelib/kernel/qvariant.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp index e59f797f3e..1e66e249fd 100644 --- a/src/corelib/kernel/qvariant.cpp +++ b/src/corelib/kernel/qvariant.cpp @@ -3201,10 +3201,4 @@ QAssociativeIterable::const_iterator QAssociativeIterable::const_iterator::opera return const_iterator(impl, new QAtomicInt(0)); } -QVariant::Private::~Private() -{ - QtMetaTypePrivate::derefAndDestroy( - reinterpret_cast<QtPrivate::QMetaTypeInterface *>(packedType << 2)); -} - QT_END_NAMESPACE |