public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] libstdc++: Move closing brace outside #endif [PR104866]
@ 2022-03-10 21:11 Jonathan Wakely
  2022-03-11 14:27 ` Detlef Vollmann
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Wakely @ 2022-03-10 21:11 UTC (permalink / raw)
  To: libstdc++, gcc-patches; +Cc: Detlef Vollmann

From: Detlef Vollmann <dv@vollmann.ch>

Tested x86_64-linux, pushed to trunk.

-- >8--

Author: Detlef Vollmann <dv@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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-03-14  9:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-10 21:11 [committed] libstdc++: Move closing brace outside #endif [PR104866] Jonathan Wakely
2022-03-11 14:27 ` Detlef Vollmann
2022-03-11 15:12   ` Jonathan Wakely
2022-03-11 15:21     ` Jonathan Wakely
2022-03-11 15:35     ` Detlef Vollmann
2022-03-11 17:59       ` Jonathan Wakely
2022-03-11 19:24         ` Detlef Vollmann
2022-03-14  9:57           ` Detlef Vollmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).