diff options
author | Michael Levine <mlevine55@bloomberg.net> | 2024-07-23 12:50:31 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-07-24 17:18:04 +0100 |
commit | c9d61cff97b92c64e7f0717b3fb64fff4c870321 (patch) | |
tree | 3f99b99670f5806f5dae770b4b42eba5a0eceeca | |
parent | 129b40529e906f423f008b484206ef6edeb21f42 (diff) | |
download | gcc-c9d61cff97b92c64e7f0717b3fb64fff4c870321.zip gcc-c9d61cff97b92c64e7f0717b3fb64fff4c870321.tar.gz gcc-c9d61cff97b92c64e7f0717b3fb64fff4c870321.tar.bz2 |
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>
-rw-r--r-- | libstdc++-v3/include/bits/ranges_algobase.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/ranges_algobase.h b/libstdc++-v3/include/bits/ranges_algobase.h index 7ce5ac3..fd35b8b 100644 --- a/libstdc++-v3/include/bits/ranges_algobase.h +++ b/libstdc++-v3/include/bits/ranges_algobase.h @@ -35,7 +35,6 @@ #include <compare> #include <bits/stl_iterator_base_funcs.h> #include <bits/stl_iterator.h> -#include <bits/stl_algobase.h> // __memcpy #include <bits/ranges_base.h> // ranges::begin, ranges::range etc. #include <bits/invoke.h> // __invoke #include <bits/cpp_type_traits.h> // __is_byte |