]> gcc.gnu.org Git - 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:33:20 +0000 (13:33 +0100)
commit0d9f00612a81046f112cd7a17849ddfa9b5510b2
tree142a37cc52138279f1399d12a4b7780f42e9ce00
parent9fa6a69a0478f66f2a3d6623d8353f287c26c486
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.

(cherry picked from commit 5c8b154c56a65faf64dfc5f8852e801150cb2f26)
libstdc++-v3/include/bits/move.h
This page took 0.05388 seconds and 6 git commands to generate.