[gcc r12-7603] libstdc++: Move closing brace outside #endif [PR104866]

Jonathan Wakely redi@gcc.gnu.org
Thu Mar 10 21:05:06 GMT 2022


https://gcc.gnu.org/g:b5417a0ba7e26bec2abf05cad6c6ef840a9be41c

commit r12-7603-gb5417a0ba7e26bec2abf05cad6c6ef840a9be41c
Author: Detlef Vollmann <dv@vollmann.ch>
Date:   Thu Mar 10 16:57:25 2022 +0000

    libstdc++: Move closing brace outside #endif [PR104866]
    
    libstdc++-v3/ChangeLog:
    
            PR libstdc++/104866
            * include/bits/this_thread_sleep.h: Fix order of #endif and
            closing brace of namespace.

Diff:
---
 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
 
   /// @}


More information about the Libstdc++-cvs mailing list