libstdc++: Fix some -Wsystem-headers warnings
authorJonathan Wakely <jwakely@redhat.com>
Mon, 18 Nov 2019 12:46:02 +0000 (12:46 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 18 Nov 2019 12:46:02 +0000 (12:46 +0000)
commit3b39526e0a34a41f916f80bcb45f2e1c64dcf763
tree971414e140f7bff8ea233a8ae3a6cce92cd7e2b6
parent5be106b86006e00c80bf846a172b2b69b40d10ef
libstdc++: Fix some -Wsystem-headers warnings

* include/bits/alloc_traits.h (allocator_traits::construct)
(allocator_traits::destroy, allocator_traits::max_size): Add unused
attributes to parameters that are not used in C++20.
* include/std/bit (__ceil2): Add braces around assertion to avoid
-Wmissing-braces warning.

From-SVN: r278401
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/alloc_traits.h
libstdc++-v3/include/std/bit