Skip to content

Commit

Permalink
Revert "remove ifdef"
Browse files Browse the repository at this point in the history
This reverts commit 0948921.
  • Loading branch information
waahm7 committed Jun 25, 2024
1 parent 0948921 commit 1c8ab9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/aws/crt/StlAllocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ namespace Aws
return static_cast<RawPointer>(aws_mem_acquire(m_allocator, n * sizeof(T)));
}

#if _LIBCPP_STD_VER > 20
std::allocation_result<T *> allocate_at_least(size_type n) { return {allocate(n), n}; }
#endif

void deallocate(RawPointer p, size_type)
{
Expand Down

0 comments on commit 1c8ab9b

Please sign in to comment.