https://bugs.kde.org/show_bug.cgi?id=509673

Waqar Ahmed <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-activities/-/comm
                   |                            |it/bfb8ac19f1d53e40a114e4f1
                   |                            |2d9f3537261e59e3

--- Comment #7 from Waqar Ahmed <[email protected]> ---
Git commit bfb8ac19f1d53e40a114e4f12d9f3537261e59e3 by Waqar Ahmed.
Committed on 21/09/2025 at 11:25.
Pushed by davidedmundson into branch 'master'.

Fix broken QFlatSet insertion

- Use the iterator returned from insert() instead of reusing the
existing iterator because it might be invalidated
- dont cache begin(), end(). They make it very easy to write wrong code
because begin()/end() might be different post insertion.

M  +5    -0    autotests/core/CMakeLists.txt
A  +54   -0    autotests/core/QFlatSetTest.cpp  *
M  +6    -8    src/utils/qflatset.h

The files marked with a * at the end have a non valid license. Please read:
https://community.kde.org/Policies/Licensing_Policy and use the headers which
are listed at that page.


https://invent.kde.org/plasma/plasma-activities/-/commit/bfb8ac19f1d53e40a114e4f12d9f3537261e59e3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to