[libc++] Remove a stray `const` on ranges::data and ranges::ssize. NFCI.

These are specced as `inline constexpr auto`; the extra `const`
isn't doing anything except being inconsistent with the other CPOs.
Now all the implemented CPOs can be detected by
    git grep 'inline constexpr auto.*fn' ../libcxx/include/
and I think that's beautiful.
This commit is contained in:
Arthur O'Dwyer 2021-09-06 12:40:05 -04:00
parent dadbe88a13
commit 0a5ebc692b
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ namespace __data {
} // end namespace __data
inline namespace __cpo {
inline constexpr const auto data = __data::__fn{};
inline constexpr auto data = __data::__fn{};
} // namespace __cpo
} // namespace ranges

View File

@ -114,7 +114,7 @@ namespace __ssize {
}
inline namespace __cpo {
inline constexpr const auto ssize = __ssize::__fn{};
inline constexpr auto ssize = __ssize::__fn{};
} // namespace __cpo
} // namespace ranges