Sprucing up some of alloy.

This commit is contained in:
Ben Vanik
2014-07-13 21:15:37 -07:00
parent 48425da8ff
commit 9437d0b564
40 changed files with 246 additions and 228 deletions

View File

@@ -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();