diff options
| author | babenko <[email protected]> | 2026-04-23 00:22:39 +0300 |
|---|---|---|
| committer | babenko <[email protected]> | 2026-04-23 01:07:39 +0300 |
| commit | fe75849e63f60631a21b4e86c3ca4043123d11d8 (patch) | |
| tree | 2e9ff2861710b788d4ebbdd294d29bace3b0c667 /contrib/tools/python3/Python/getopt.c | |
| parent | f6ebaf650924e0736d18a28be14250c5a4710205 (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/getopt.c')
0 files changed, 0 insertions, 0 deletions
