summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qmutex.cpp
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2020-09-02 15:19:16 +0200
committerAndrei Golubev <andrei.golubev@qt.io>2020-09-10 11:24:19 +0200
commit6e8985e3576a4439bd66c0767f9912d1e124682c (patch)
treeb728bc9b0db96215af3a9bf6662b9ef1b0907c0d /src/corelib/thread/qmutex.cpp
parent030962b01c72ffd6e25c8322a3ee6957027d3278 (diff)
Make Q*ArrayOps erase aligned with std::vector::erase
Scoped GrowsBackwards-optimized erase to only be applied when erase starts at the beginning of the element range. In other cases, old "left-shifting" erase is used to align with std::vector::erase invalidation policy Task-number: QTBUG-84320 Change-Id: I2e7f3b96b056bc371119eb2d36cc7c74af52c394 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/thread/qmutex.cpp')
0 files changed, 0 insertions, 0 deletions