libstdc++: Remove redundant 'inline' specifiers

These functions are constexpr, which means they are implicitly inline.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>

libstdc++-v3/ChangeLog:

	* include/bits/range_access.h (cbegin, cend): Remove redundant
	'inline' specifier.
This commit is contained in:
Jonathan Wakely 2021-09-24 11:30:59 +01:00
parent 710c6ab4ad
commit 9b11107ed7

View file

@ -122,7 +122,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
*/
template<typename _Container>
[[__nodiscard__]]
inline constexpr auto
constexpr auto
cbegin(const _Container& __cont) noexcept(noexcept(std::begin(__cont)))
-> decltype(std::begin(__cont))
{ return std::begin(__cont); }
@ -134,7 +134,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
*/
template<typename _Container>
[[__nodiscard__]]
inline constexpr auto
constexpr auto
cend(const _Container& __cont) noexcept(noexcept(std::end(__cont)))
-> decltype(std::end(__cont))
{ return std::end(__cont); }