From: Michael Levine Date: Tue, 23 Jul 2024 11:50:31 +0000 (+0100) Subject: libstdc++: Remove duplicate include header from ranges_algobase.h X-Git-Tag: basepoints/gcc-16~7282 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9d61cff97b92c64e7f0717b3fb64fff4c870321;p=thirdparty%2Fgcc.git 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 . Signed-off-by: Michael Levine --- diff --git a/libstdc++-v3/include/bits/ranges_algobase.h b/libstdc++-v3/include/bits/ranges_algobase.h index 7ce5ac314f2..fd35b8ba14c 100644 --- a/libstdc++-v3/include/bits/ranges_algobase.h +++ b/libstdc++-v3/include/bits/ranges_algobase.h @@ -35,7 +35,6 @@ #include #include #include -#include // __memcpy #include // ranges::begin, ranges::range etc. #include // __invoke #include // __is_byte