Sprucing up some of alloy.
This commit is contained in:
@@ -25,7 +25,7 @@ class Arena {
|
||||
void* Alloc(size_t size);
|
||||
template <typename T>
|
||||
T* Alloc() {
|
||||
return (T*)Alloc(sizeof(T));
|
||||
return reinterpret_cast<T*>(Alloc(sizeof(T)));
|
||||
}
|
||||
|
||||
void* CloneContents();
|
||||
|
||||
Reference in New Issue
Block a user