diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2019-10-29 03:19:40 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2019-10-29 03:19:40 +0300 |
commit | 8c8f15c4206e0b446c78034341d99017f5364987 (patch) | |
tree | e3d3c2dbdec061f7a7889ae2bc6ca2e39a1add49 /server/TracySlab.hpp | |
parent | 0ceba49d786f149b9db5d965157462ad262f4e88 (diff) |
Force inline Slab::AllocInit().
Diffstat (limited to 'server/TracySlab.hpp')
-rw-r--r-- | server/TracySlab.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/TracySlab.hpp b/server/TracySlab.hpp index efd01495..705af1da 100644 --- a/server/TracySlab.hpp +++ b/server/TracySlab.hpp @@ -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 ); |