diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-03-11 15:26:06 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-03-12 10:38:40 +0100 |
commit | e7decc7637e9eb7e66a0d19705090f18488028c0 (patch) | |
tree | c5e6e2fd10d8e9bb91295b71d6c718009b374ae7 /examples | |
parent | f78e542053cfc1d5c1b26d6fa4d18ef1698359a0 (diff) |
MemoryManager: Forward arguments to init()
The templating transforms references into their base types. Passing
those through involves copying, and refcount ping-pong for
QQmlRefPointers. Use forwarding references and std::forward to avoid
this.
Change-Id: I2524b53b9e06fadcc67a78c6ebf04f5bc2da354b
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions