Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.1, 6.9.0 Beta1
-
None
-
3
-
b80679a90 (dev), cd99c6aad (6.9), 66456f9aa (6.8), cf7cd0818 (tqtc/lts-6.5), 150d3e344 (tqtc/lts-6.2), 02118ed09 (tqtc/lts-5.15), 3a284dc19 (dev), 605a20b26 (6.9), 4299115fe (6.8), e1efc67bc (tqtc/lts-6.5)
-
Foundation Sprint 123, Foundation Sprint 124
Description
QSet::remove() (via QHash::remove()) and removeIf() (via QtPrivate::set_erase_if()) detache from shared state even if nothing is being removed.
Expected behaviour: if remove() or removeIf() doesn't modify the container, then shared state is not detach()ed from.