From: Detlef Vollmann <d...@vollmann.ch>

Tested x86_64-linux, pushed to trunk.

-- >8--

Author: Detlef Vollmann <d...@vollmann.ch>

libstdc++-v3/ChangeLog:

        PR libstdc++/104866
        * include/bits/this_thread_sleep.h: Fix order of #endif and
        closing brace of namespace.
---
 libstdc++-v3/include/bits/this_thread_sleep.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/include/bits/this_thread_sleep.h 
b/libstdc++-v3/include/bits/this_thread_sleep.h
index 86bc6ffd632..712de5a6ff9 100644
--- a/libstdc++-v3/include/bits/this_thread_sleep.h
+++ b/libstdc++-v3/include/bits/this_thread_sleep.h
@@ -105,8 +105,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
            __now = _Clock::now();
          }
       }
-  } // namespace this_thread
 #endif // ! NO_SLEEP
+  } // namespace this_thread
 
   /// @}
 
-- 
2.34.1

Reply via email to