]> git.ipfire.org Git - people/ms/gcc.git/commitdiff
libstdc++: Move closing brace outside #endif [PR104866]
authorDetlef Vollmann <dv@vollmann.ch>
Thu, 10 Mar 2022 16:57:25 +0000 (16:57 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 2 Feb 2023 18:09:46 +0000 (18:09 +0000)
libstdc++-v3/ChangeLog:

PR libstdc++/104866
* include/bits/this_thread_sleep.h: Fix order of #endif and
closing brace of namespace.

(cherry picked from commit b5417a0ba7e26bec2abf05cad6c6ef840a9be41c)

libstdc++-v3/include/bits/this_thread_sleep.h

index bdcd0cdeb77d87f06e3a4ee3336b1af91f0f8d1d..b7e956f9119469f368195f8e69d3b3b467f00e7a 100644 (file)
@@ -107,8 +107,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
            __now = _Clock::now();
          }
       }
-  } // namespace this_thread
 #endif // ! NO_SLEEP
+  } // namespace this_thread
 
   /// @}