This commit is contained in:
Edgar 2023-12-22 11:15:48 +01:00
parent ee6ee97da2
commit 1276ee7027
No known key found for this signature in database
GPG key ID: 70ADAE8F35904387

View file

@ -17,7 +17,12 @@
// The size of buffers obtained follows a geometric progression.
class CHeap
{
std::pmr::monotonic_buffer_resource m_BumpAllocator;
#if __has_include(<memory_resource>)
std::pmr::monotonic_buffer_resource
#else
std::experimental::pmr::monotonic_buffer_resource
#endif
m_BumpAllocator;
void Clear();
public: