diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-30 09:51:54 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-30 09:51:54 -0500 |
commit | 6c7fd1db481ff10a16ecab958c6542784fa60b9c (patch) | |
tree | e0162f930ec44a7c53b07061311d52910c36e481 /test/test_allocator.cpp | |
parent | 8dcb1de91e15ff7fc66279cd9cd9ad8a70f624e0 (diff) |
Use std::byte* instead of void* for allocators.
Diffstat (limited to 'test/test_allocator.cpp')
-rw-r--r-- | test/test_allocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_allocator.cpp b/test/test_allocator.cpp index d93df1e..6382463 100644 --- a/test/test_allocator.cpp +++ b/test/test_allocator.cpp @@ -23,7 +23,7 @@ namespace fud { struct FailAllocator : public MockFudAlloc { - virtual void* operator()(size_t size) override { + virtual std::byte* operator()(size_t size) override { static_cast<void>(size); return nullptr; } |