diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-02-06 16:06:39 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-03-19 10:19:21 +0000 |
commit | 80920a3012239644ac0aba8c37a9a05e22e34b5a (patch) | |
tree | fb14f0868e3fad08db87af571ae5df4a1c711a43 /src/qml/jsruntime/qv4engine_p.h | |
parent | 87af9e7396229907f712f50d803d8c16b0652efc (diff) |
Use QQmlRefCount for QQmlType(Private)
As we already have an implementation of refcounting, we can just use
that intead of inventing another one. This also gives us nice move ctors
and operators.
Also, use const pointers to QQmlTypePrivate where possible. This exposes
quite some nastiness that needs to be fixed in follow-up commits: All
the mutable members of QQmlTypePrivate are unsafe for multithreaded use.
Change-Id: I3be8f2c53d86e06ffa80c8df8830473fe6d1d91d
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
0 files changed, 0 insertions, 0 deletions