1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-23 20:24:12 +01:00

Codechange: Use std::byte for glyph sprite buffer.

This commit is contained in:
Peter Nelson
2025-05-13 00:48:05 +01:00
committed by Peter Nelson
parent c718858999
commit 5585363407
3 changed files with 3 additions and 3 deletions

View File

@@ -899,7 +899,7 @@ void *CacheSpriteAllocator::AllocatePtr(size_t mem_req)
void *UniquePtrSpriteAllocator::AllocatePtr(size_t size)
{
this->data = std::make_unique<uint8_t[]>(size);
this->data = std::make_unique<std::byte[]>(size);
return this->data.get();
}