From 8c8f15c4206e0b446c78034341d99017f5364987 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 29 Oct 2019 01:19:40 +0100 Subject: [PATCH] Force inline Slab::AllocInit(). --- server/TracySlab.hpp | 4 ++-- 1 file 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 - T* AllocInit() + tracy_force_inline T* AllocInit() { const auto size = sizeof( T ); assert( size <= BlockSize ); @@ -59,7 +59,7 @@ public: } template - T* AllocInit( size_t sz ) + tracy_force_inline T* AllocInit( size_t sz ) { const auto size = sizeof( T ) * sz; assert( size <= BlockSize );