diff options
| author | Mårten Nordheim <[email protected]> | 2021-07-29 16:28:32 +0200 |
|---|---|---|
| committer | Mårten Nordheim <[email protected]> | 2021-08-02 09:39:45 +0200 |
| commit | e3f10a2760e6823df655549802bea39c251e5284 (patch) | |
| tree | 68c10b011315d5bb1425404781fd1d74521a65ae /util/cmake/pro2cmake.py | |
| parent | 50f53b90220707664947f3d1f9468c466398ec31 (diff) | |
QByteArray::number/setNum(double): Reverse dependency
Currently number(double) creates a QByteArray-instance and calls
setNum(double).
setNum(double) creates a QByteArray-instance and copy-assigns it to
itself.
By making setNum(double) call number(double) we can cut one creation
from numbers(double)'s path, and making setNum no worse than it was.
The other pairs of setNum/number are left alone as they don't have this
issue.
Change-Id: Ib611ebc78db64f74244a56cb8e384e42bc7d1758
Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'util/cmake/pro2cmake.py')
0 files changed, 0 insertions, 0 deletions
