From 6c7fd1db481ff10a16ecab958c6542784fa60b9c Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Wed, 30 Oct 2024 09:51:54 -0500 Subject: Use std::byte* instead of void* for allocators. --- test/test_allocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_allocator.cpp') 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(size); return nullptr; } -- cgit v1.2.3