aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsapi/qjsvalue.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-03-11 15:26:06 +0100
committerUlf Hermann <ulf.hermann@qt.io>2020-03-12 10:38:40 +0100
commite7decc7637e9eb7e66a0d19705090f18488028c0 (patch)
treec5e6e2fd10d8e9bb91295b71d6c718009b374ae7 /src/qml/jsapi/qjsvalue.cpp
parentf78e542053cfc1d5c1b26d6fa4d18ef1698359a0 (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 'src/qml/jsapi/qjsvalue.cpp')
0 files changed, 0 insertions, 0 deletions