summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2011-09-28 12:14:01 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-27 11:12:38 +0200
commit4a81c29c476edfa2c1dcb5fecb3a76a295d43384 (patch)
tree14edaddac1e1afe38e16c65584883d40cb7da60c /tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp
parent19b029cd9d8540b6d6628feb9201b75679f1dbd2 (diff)
Use load() when constructing QSimpleCodec's reverse map
The implicit casting results in unnecessary volatile loads. The test-and-set-ordered doesn't need full ordering, test-and-set-release is enough to ensure that the memory initialization done by buildReverseMap() and test-and-set happen in program order. Change-Id: I168b504271aeba050d6b8396becbdeb3ef938213 Reviewed-by: Olivier Goffart <ogoffart@kde.org>
Diffstat (limited to 'tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp')
0 files changed, 0 insertions, 0 deletions