File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ constexpr bool test() {
4646 { // check that std::allocate_at_least forwards to allocator::allocate if no allocate_at_least exists
4747 no_allocate_at_least<int > alloc;
4848 using AllocTraits = std::allocator_traits<decltype (alloc)>;
49- std::same_as<std::allocation_result<int *> , AllocTraits::size_type> decltype (auto ) ret =
49+ std::same_as<std::allocation_result<int *, AllocTraits::size_type> > decltype (auto ) ret =
5050 AllocTraits::allocate_at_least (alloc, 1 );
5151 assert (ret.count == 1 );
5252 assert (ret.ptr == &alloc.t );
@@ -55,7 +55,7 @@ constexpr bool test() {
5555 { // check that std::allocate_at_least forwards to allocator::allocate_at_least if allocate_at_least exists
5656 has_allocate_at_least<int > alloc;
5757 using AllocTraits = std::allocator_traits<decltype (alloc)>;
58- std::same_as<std::allocation_result<int *> , AllocTraits::size_type> decltype (auto ) ret =
58+ std::same_as<std::allocation_result<int *, AllocTraits::size_type> > decltype (auto ) ret =
5959 AllocTraits::allocate_at_least (alloc, 1 );
6060 assert (ret.count == 2 );
6161 assert (ret.ptr == &alloc.t2 );
You can’t perform that action at this time.
0 commit comments