From c9d61cff97b92c64e7f0717b3fb64fff4c870321 Mon Sep 17 00:00:00 2001 From: Michael Levine Date: Tue, 23 Jul 2024 12:50:31 +0100 Subject: [PATCH] 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 --- libstdc++-v3/include/bits/ranges_algobase.h | 1 - 1 file changed, 1 deletion(-) 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 -- 2.47.2