From b7d69bdcbb4e9bb61650c7d85e7ae444cb21ed74 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Mon, 4 Mar 2024 10:58:37 -0500 Subject: [PATCH] allocator --- include/blt/std/allocator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/blt/std/allocator.h b/include/blt/std/allocator.h index f310c9d..9d0476b 100644 --- a/include/blt/std/allocator.h +++ b/include/blt/std/allocator.h @@ -451,7 +451,7 @@ namespace blt back.offset += (back.buffer - new_ptr + sizeof(T)); back.allocated_objects++; } - return static_cast(new_ptr); + return reinterpret_cast(new_ptr); } public: