libstdc++: Simplify std::allocator_traits<allocator<void>>::construct
authorJonathan Wakely <jwakely@redhat.com>
Tue, 4 Jan 2022 16:39:01 +0000 (16:39 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 5 Jan 2022 13:47:01 +0000 (13:47 +0000)
commit917c7b136e8b556b0027223058006a6caeb56871
tree387478ba9c30d3d36baca28201fc992e8069d7b8
parentcebe875f6f44b905a0d56a2007b5a638a33a893c
libstdc++: Simplify std::allocator_traits<allocator<void>>::construct

We don't need a preprocessor condition to decide whether to use
placement new or std::construct_at, because std::_Construct already does
that.

libstdc++-v3/ChangeLog:

* include/bits/alloc_traits.h (allocator_traits<allocator<void>>):
Use std::_Construct for construct.
libstdc++-v3/include/bits/alloc_traits.h