1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Force inline Slab::AllocInit().

This commit is contained in:
Bartosz Taudul 2019-10-29 01:19:40 +01:00
parent 0ceba49d78
commit 8c8f15c420

View File

@ -44,7 +44,7 @@ public:
}
template<typename T>
T* AllocInit()
tracy_force_inline T* AllocInit()
{
const auto size = sizeof( T );
assert( size <= BlockSize );
@ -59,7 +59,7 @@ public:
}
template<typename T>
T* AllocInit( size_t sz )
tracy_force_inline T* AllocInit( size_t sz )
{
const auto size = sizeof( T ) * sz;
assert( size <= BlockSize );