]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Include <mutex> in syncbuf.cc [PR122698]
authorJonathan Wakely <jwakely@redhat.com>
Sun, 16 Nov 2025 13:57:25 +0000 (13:57 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 16 Nov 2025 14:00:55 +0000 (14:00 +0000)
commit84dbb22f32a525a0f0e0b7c02c56eec2fa6f39da
treebd2d2cb72e4b9a11215731f4164c7cd9aa2ecab4
parentd9a19e68057d2e344e58800363dceb98b8f5a792
libstdc++: Include <mutex> in syncbuf.cc [PR122698]

For most configurations bits/std_mutex.h would already be included by
<syncstream>, but not if configured with _GLIBCXX_USE_CXX11_ABI=0 as the
default, because syncbuf is disabled in that case.

libstdc++-v3/ChangeLog:

PR libstdc++/122698
* src/c++20/syncbuf.cc (__syncbuf_get_mutex): Include <mutex>.
Fix indentation of function body.
libstdc++-v3/src/c++20/syncbuf.cc