summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkcookie.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-10-10 20:02:15 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-13 09:30:01 +0100
commit8892e3d0fc8258975f27aa90bef741fb4254ce7e (patch)
treeceb00ffb5bdd8806f3f6cd56e88777a0f605cd69 /src/network/access/qnetworkcookie.cpp
parentb0afad8f0b6a3be7ab3a23e063b0201cd68ada95 (diff)
Improve the Latin1 conversion in QString a little
First, use Qt::Uninitialized, since we're about to overwrite the memory anyway with the new Latin 1 string. Second, move the actual body of the conversion to a static void function, which seems to improve code generation a little and, of course, paves the way for the in-place conversion. Change-Id: Iaed99ba1e52facad676510aa98443223e188d70a Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/network/access/qnetworkcookie.cpp')
0 files changed, 0 insertions, 0 deletions