summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Python/modsupport.c
diff options
context:
space:
mode:
authorbabenko <[email protected]>2026-04-23 00:22:39 +0300
committerbabenko <[email protected]>2026-04-23 01:07:39 +0300
commitfe75849e63f60631a21b4e86c3ca4043123d11d8 (patch)
tree2e9ff2861710b788d4ebbdd294d29bace3b0c667 /contrib/tools/python3/Python/modsupport.c
parentf6ebaf650924e0736d18a28be14250c5a4710205 (diff)
Fix self-move UB in TTL check queue compaction
When the iterator points to the last element, the move-assign `*it = std::move(TtlCheckQueue_.back())` is a self-move — undefined behaviour. Replace with std::swap, which is well-defined even when both arguments refer to the same object. commit_hash:464031d6effa032775fd12662a6f3639e50b6f9e
Diffstat (limited to 'contrib/tools/python3/Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions