summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstringview.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2017-04-10 15:29:59 +0200
committerMarc Mutz <marc.mutz@kdab.com>2017-04-19 11:07:11 +0000
commitb3e66c76aaadb979bec487869ce1fb7ee056b517 (patch)
treeb60a9eed418f75a9662da0a47ac60599350ca724 /src/corelib/tools/qstringview.h
parentd5cecfe8fda66ee64807765d669b0248cfda3dcc (diff)
QUuid: de-duplicate uuid → string formatting
The code was duplicated for QChar and char characters. Keep only the char version, and use QString::fromLatin1() to convert to QString. This does not perform more allocations. It just copies 38 bytes more than before. Saves 788B in text size on optimized GCC 6.1 Linux AMD64 builds. Change-Id: I1a65c8128eb2097e11527961618d54ea362e1b80 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/tools/qstringview.h')
0 files changed, 0 insertions, 0 deletions