diff options
author | Anton Kudryavtsev <[email protected]> | 2016-04-06 15:23:58 +0300 |
---|---|---|
committer | Anton Kudryavtsev <[email protected]> | 2016-04-26 10:31:19 +0000 |
commit | 1be53f4e143d417d60cd1f9a292193dab59b5b20 (patch) | |
tree | efc9f54af4d646d9e7d5618e3c2688d9442bbc71 /src/quick/scenegraph/util/qsgatlastexture.cpp | |
parent | 84f61dd2d2b0140814b39a2c5238a6e31c49abd7 (diff) |
Use QStringRef to optimize memory allocation
Replace substring functions that return QString with
corresponding functions that return QStringRef where
it's possible.
Create QString from QStringRef only where necessary.
While touching the code, also port loops to C++11 style.
Change-Id: I04c99b24ea6afd3715e3edf9ea00bfab838fd53c
Reviewed-by: Ulf Hermann <[email protected]>
Reviewed-by: Simon Hausmann <[email protected]>
Reviewed-by: Frank Meerkoetter <[email protected]>
Reviewed-by: Shawn Rutledge <[email protected]>
Reviewed-by: Robin Burchell <[email protected]>
Diffstat (limited to 'src/quick/scenegraph/util/qsgatlastexture.cpp')
0 files changed, 0 insertions, 0 deletions