]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Simplify preprocessor/namespace nesting in <bits/move.h>
authorJonathan Wakely <jwakely@redhat.com>
Fri, 28 Apr 2023 10:07:40 +0000 (11:07 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 28 Apr 2023 12:05:50 +0000 (13:05 +0100)
commit5c8b154c56a65faf64dfc5f8852e801150cb2f26
treeed0ca292b63a9bd97095aa42ae59303c3b818af2
parenta94dcac59ee4c99b523ae593cb1c0ad43d4a110b
libstdc++: Simplify preprocessor/namespace nesting in <bits/move.h>

There's no good reason to conditionally close and reopen namespace std
within an #if block. Just include the <type_traits> header at the top
instead.

libstdc++-v3/ChangeLog:

* include/bits/move.h: Simplify opening/closing namespace std.
libstdc++-v3/include/bits/move.h