]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: bvector: undef always_inline macro
authorAlexandre Oliva <oliva@adacore.com>
Wed, 15 Nov 2023 01:15:29 +0000 (22:15 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 15 Nov 2023 01:15:29 +0000 (22:15 -0300)
It's customary to undefine temporary internal macros at the end of the
header that defines them, even such widely-usable ones as
_GLIBCXX_ALWAYS_INLINE, so do so in the header where the define was
recently introduced.

for  libstdc++-v3/ChangeLog

* include/bits/stl_bvector.h (_GLIBCXX_ALWAYS_INLINE): Undef.

libstdc++-v3/include/bits/stl_bvector.h

index 64f04c1f4f5996f91e9c05646ed9d98a5e01632f..8b97b61d96d17fe835e0e970c6637c356df8c41a 100644 (file)
@@ -1630,4 +1630,6 @@ _GLIBCXX_END_NAMESPACE_CONTAINER
 _GLIBCXX_END_NAMESPACE_VERSION
 } // namespace std
 
+#undef _GLIBCXX_ALWAYS_INLINE
+
 #endif