diff --git a/server/TracySlab.hpp b/server/TracySlab.hpp index b13bae09..a8960a57 100755 --- a/server/TracySlab.hpp +++ b/server/TracySlab.hpp @@ -39,6 +39,12 @@ public: return ret; } + template + T* Alloc() + { + return (T*)Alloc( sizeof( T ) ); + } + void Unalloc( size_t size ) { assert( size <= m_offset );