diff --git a/libstdc++-v3/include/std/semaphore b/libstdc++-v3/include/std/semaphore index ff83a56af4b..9648c3da7ce 100644 --- a/libstdc++-v3/include/std/semaphore +++ b/libstdc++-v3/include/std/semaphore @@ -87,7 +87,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { return _M_sem._M_try_acquire_until(__atime); } }; - using binary_semaphore = std::counting_semaphore<1>; + using binary_semaphore = std::counting_semaphore<1>; + _GLIBCXX_END_NAMESPACE_VERSION } // namespace #endif // __cpp_lib_atomic_wait