allocator

v1
Brett 2024-03-04 10:58:37 -05:00
parent 0ff9513070
commit b7d69bdcbb
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ namespace blt
back.offset += (back.buffer - new_ptr + sizeof(T)); back.offset += (back.buffer - new_ptr + sizeof(T));
back.allocated_objects++; back.allocated_objects++;
} }
return static_cast<T*>(new_ptr); return reinterpret_cast<T*>(new_ptr);
} }
public: public: