summaryrefslogtreecommitdiff
path: root/editor/export_template_manager.cpp
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2017-09-19 01:46:48 +0200
committerHein-Pieter van Braam <hp@tmm.cx>2017-09-19 15:27:57 +0200
commitd05965963d402b54b7e7c662802ecea69ad50745 (patch)
tree8f291afa51bcc54f2e33949a2ceeb3fe22e63171 /editor/export_template_manager.cpp
parent60790c8c5aca9435d1b54ffd8a51a9137c9ad617 (diff)
Don't call Variant::reference() unnecessarily
operator= does not need to call reference() if the new value is of the same type as the old. This saves us zeroing the Variant, This speeds up reuse of a Variant in a loop by roughly 50%.
Diffstat (limited to 'editor/export_template_manager.cpp')
0 files changed, 0 insertions, 0 deletions