https://gcc.gnu.org/g:46a597680054eeeeb9b1d41beaf23964490de6c6
commit r14-12344-g46a597680054eeeeb9b1d41beaf23964490de6c6 Author: Jonathan Wakely <[email protected]> Date: Wed Mar 4 11:58:37 2026 +0000 libstdc++: Change comment on #endif to match #if condition [PR124363] I changed the #if in r8-3123-gc6888c62577671 but didn't make the corresponding change to the #endif. This backport also includes the fix for the #endif of the include guard, which was changed by r16-6038-g62c126db6b6017 to refer to the correct macro. libstdc++-v3/ChangeLog: PR libstdc++/124363 * include/std/string_view: Adjust comment on #endif to match #if condition. Likewise for header guard. (cherry picked from commit 47339c8f8a477464b6fe44992200bd2b840da8f4) Diff: --- libstdc++-v3/include/std/string_view | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/include/std/string_view b/libstdc++-v3/include/std/string_view index 740aa9344f01..4bce4ba21b4d 100644 --- a/libstdc++-v3/include/std/string_view +++ b/libstdc++-v3/include/std/string_view @@ -906,6 +906,6 @@ _GLIBCXX_END_NAMESPACE_VERSION #include <bits/string_view.tcc> -#endif // __cplusplus <= 201402L +#endif // C++17 -#endif // _GLIBCXX_EXPERIMENTAL_STRING_VIEW +#endif // _GLIBCXX_STRING_VIEW
