summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-02-08 01:47:00 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-02-08 10:21:55 +0000
commit74adb1900a7f6f219339bd4ed2a74b5816b63d64 (patch)
tree1828878150127238cfd440d3a9134a77e7abc606 /src/corelib/itemmodels
parent24c0ba13fd7973a5a9007d4bb651efe714a3c518 (diff)
QEasingCurve: add some strategic std::move()
Move instead of copy the bezierCurves and tcbPoints containers when updating 'config' in setType_helper(). In Qt 5, we still have the unsharable container issue which causes code for deep copies to be emitted for most copy operations. A move is always just re-seating a pointer. Change-Id: Icff7415dd0ce44df0602273ff42370b26d831b85 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/itemmodels')
0 files changed, 0 insertions, 0 deletions