diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-01-12 12:49:02 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-01-17 19:56:41 -0800 |
commit | 86b346823e114ac0b6b1c2ab6065ce53b1393de0 (patch) | |
tree | 567c2eb6c50caca1c438d855b14f53de0b9ab8bd /mkspecs/linux-clang-libc++/qplatformdefs.h | |
parent | a59e7361714d50687d82a2d9abae9e95825a23b6 (diff) |
QString::toLatin1_helper_inplace: simplify the code
Hot function, so help the compiler out. In particular, this removes any
touch to the ref count, so there are no atomic operations or dead code
leading to memory allocations and deallocations.
Change-Id: I0e5f6bec596a4a78bd3bfffd16c9a0fbd8dd2c12
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'mkspecs/linux-clang-libc++/qplatformdefs.h')
0 files changed, 0 insertions, 0 deletions