]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Adjust flat_set::swap swapping order
authorPatrick Palka <ppalka@redhat.com>
Fri, 29 May 2026 19:21:06 +0000 (15:21 -0400)
committerPatrick Palka <ppalka@redhat.com>
Fri, 29 May 2026 19:21:06 +0000 (15:21 -0400)
commitf052dcf8699fa650cda20944fdd3a96104b6830c
treed6ef97f7341d7f5af9bb1003d92cf9b3dfa39e8d
parent47bb24546297ef6812d69bc800ec005fc7e567e9
libstdc++: Adjust flat_set::swap swapping order

In r17-908 I accidentally made us swap the comparator first, but we
decided that the container should be swapped first.

libstdc++-v3/ChangeLog:

* include/std/flat_set (_Flat_set_impl::swap): Swap _M_cont
first.
libstdc++-v3/include/std/flat_set