diff options
| author | Stefan Brüns <[email protected]> | 2021-02-15 17:40:17 +0100 |
|---|---|---|
| committer | Stefan Brüns <[email protected]> | 2021-02-15 17:40:17 +0100 |
| commit | 492cfb73a370e03acc0561a631ce7e0d606ddf58 (patch) | |
| tree | ad655857eccd7eee5b6ba69297eeb50009b2444d /src/main.cpp | |
| parent | 7c0b5c08cc97eded7755ca5cef9c7e5ba5c15537 (diff) | |
[FileItemRolesUpdater] Use STL-style iterator instead of iterating a copy
QSet<T>::erase(it) is the save way of erasing from a QSet while iterating
it. This saves creating a copy of the QSet, lookup of a node by value in
`QSet<T>::remove(item)`, and repeated rehashing caused by `remove`.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions
