summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qsidebar.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-07-23 17:29:54 -0700
committerThiago Macieira <thiago.macieira@intel.com>2014-07-25 18:02:06 +0200
commit63efdf9851915ce3b81bffe089fcd1995d6750f8 (patch)
treeeb5228fa252bc95a6e664bf43d7b029234cea9f3 /src/widgets/dialogs/qsidebar.cpp
parent324351f6c983c074bcada0ae82620fb497522d70 (diff)
Use the 3-argument testAndSet in the fetchAndXxx operations
Saves us from an extra load in the loop when the result is already there. Change-Id: Ib65b5b13f27975b8fc88be9b888c19505bf5e07c Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/dialogs/qsidebar.cpp')
0 files changed, 0 insertions, 0 deletions