From: Jonathan Wakely Date: Fri, 24 Sep 2021 10:30:59 +0000 (+0100) Subject: libstdc++: Remove redundant 'inline' specifiers X-Git-Tag: basepoints/gcc-13~4434 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b11107ed72ca543af41dbb3226e16b61d31b098;p=thirdparty%2Fgcc.git libstdc++: Remove redundant 'inline' specifiers These functions are constexpr, which means they are implicitly inline. Signed-off-by: Jonathan Wakely libstdc++-v3/ChangeLog: * include/bits/range_access.h (cbegin, cend): Remove redundant 'inline' specifier. --- diff --git a/libstdc++-v3/include/bits/range_access.h b/libstdc++-v3/include/bits/range_access.h index ab2d4f8652c3..3dec687dd94e 100644 --- a/libstdc++-v3/include/bits/range_access.h +++ b/libstdc++-v3/include/bits/range_access.h @@ -122,7 +122,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION */ template [[__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 [[__nodiscard__]] - inline constexpr auto + constexpr auto cend(const _Container& __cont) noexcept(noexcept(std::end(__cont))) -> decltype(std::end(__cont)) { return std::end(__cont); }