aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-07-13 12:09:37 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-07-13 12:09:37 +0100
commitbd1eb556b910fd4853ea83291e495d40adbcdf81 (patch)
tree2df3bb2138ffc86da4099541f8275b90114e9dd9 /gcc
parent1583b8bff0be7e41aa721dde79f90ca0763bd4e2 (diff)
downloadgcc-bd1eb556b910fd4853ea83291e495d40adbcdf81.zip
gcc-bd1eb556b910fd4853ea83291e495d40adbcdf81.tar.gz
gcc-bd1eb556b910fd4853ea83291e495d40adbcdf81.tar.bz2
libstdc++: Remove duplicate #include in <string_view>
When I added the new C++23 constructor I added a conditional include of <bits/ranges_base.h>, which was already being included unconditionally. This removes the unconditional include but changes the condition for the other one, so it's used for C++20 as well. Signed-off-by: Jonathan Wakely <jwakely@redhat.com> libstdc++-v3/ChangeLog: * include/std/string_view: Only include <bits/ranges_base.h> once, and only for C++20 and later.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions