diff options
| author | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-07-05 13:31:02 +0200 |
|---|---|---|
| committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-07-05 13:42:07 +0200 |
| commit | cd383f8406746a99f3cd7b51d2ef3dfdb9a0dd9f (patch) | |
| tree | 44360001630988586c0624329c03625c7a4f7fc7 /tests/auto/qml/qmlcppcodegen/data/javaScriptArgument.qml | |
| parent | c2126711f6f304a65ef76cd65fac820c402d953f (diff) | |
QQmlTypeLoader: prevent unnecessary refcount operations
PendingImportPtr is a shared_ptr. Thus, it should be passed by reference
when we don't actually need to share the ownership. Moreover, use move
when we actually made a copy and want to transfer ownership to somewhere
else.
Change-Id: I14cf9422858c4b7c1ea0b89b25e187fb0ea09341
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data/javaScriptArgument.qml')
0 files changed, 0 insertions, 0 deletions
