diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2017-09-08 10:34:45 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2017-09-08 12:46:44 +0000 |
commit | 5f17840a14e22da0cfa973b36b9f6ce3bc8d4067 (patch) | |
tree | 66efa1e23974b91664c30de7aae085dddfdf531e /src/qml/jsruntime/qv4engine_p.h | |
parent | ebda8170a6b00b830fba59a230506ab3ca52e6c5 (diff) |
Remove temporary allocations during type cleanup
As a follow-up commit to 48c09a85, avoid the use of key() to create a
temporary string when cleaning the QML type registry. There is strictly
speaking no need to perform another hash lookup anyway.
Change-Id: Ibd5f0210d5584d1f847d8ec61f25cb0972076365
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
0 files changed, 0 insertions, 0 deletions