1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 16:55:07 +00:00
Commit graph

2 commits

Author SHA1 Message Date
Jelle Raaijmakers
8da0925d6d AK: Add mix 2022-01-04 17:48:28 +00:00
Timothy Flynn
587d4663a3 AK: Return early from swap() when swapping the same object
When swapping the same object, we could end up with a double-free error.
This was found while quick-sorting a Vector of Variants holding complex
types, reproduced by the new swap_same_complex_object test case.
2021-08-30 19:42:40 +01:00