The move assignment is not working properly for some container types if the target is not empty.
Affected container types: priority_queue, set, multiset.
Solution: clear() needs to be called in these move assignment functions before adding the new elements to the target container.
I already have the fix locally, but I don't have permission to push my branch and create a PR.
The move assignment is not working properly for some container types if the target is not empty. Affected container types: priority_queue, set, multiset. Solution: clear() needs to be called in these move assignment functions before adding the new elements to the target container. I already have the fix locally, but I don't have permission to push my branch and create a PR.