diff options
author | Michael Levine <mlevine55@bloomberg.net> | 2024-07-23 12:50:31 +0100 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2024-07-28 19:05:52 +0200 |
commit | 30c2dbf53800fffba148fadc3b8bac556efcc572 (patch) | |
tree | d93e5c1274f0c5d656a72363a041f5facb892ffb | |
parent | 2afa4c45a392438dad05786a7c4dec9d8a3d097f (diff) | |
download | gcc-30c2dbf53800fffba148fadc3b8bac556efcc572.zip gcc-30c2dbf53800fffba148fadc3b8bac556efcc572.tar.gz gcc-30c2dbf53800fffba148fadc3b8bac556efcc572.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 |