]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Remove duplicate include header from ranges_algobase.h
authorMichael Levine <mlevine55@bloomberg.net>
Tue, 23 Jul 2024 11:50:31 +0000 (12:50 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 24 Jul 2024 16:18:04 +0000 (17:18 +0100)
commitc9d61cff97b92c64e7f0717b3fb64fff4c870321
tree3f99b99670f5806f5dae770b4b42eba5a0eceeca
parent129b40529e906f423f008b484206ef6edeb21f42
libstdc++: Remove duplicate include header from ranges_algobase.h

The bits/stl_algobase.h header was added to bits/ranges_algobase.h
separately through two related commits:
r15-1106-g674d213ab91871
r15-1117-g0bb1db32ccf54a

The comment for the first time it is included in the file is also
incorrect (my error from that 2nd one) since it is really being included
for __memcmp, not __memcpy

This patch removes the duplicate header include.

libstdc++-v3/ChangeLog:

* include/bits/ranges_algobase.h: Remove duplicate include of
<bits/stl_algobase.h>.

Signed-off-by: Michael Levine <mlevine55@bloomberg.net>
libstdc++-v3/include/bits/ranges_algobase.h