Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2019-10-29 03:19:40 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-10-29 03:19:40 +0300
commit8c8f15c4206e0b446c78034341d99017f5364987 (patch)
treee3d3c2dbdec061f7a7889ae2bc6ca2e39a1add49 /server/TracySlab.hpp
parent0ceba49d786f149b9db5d965157462ad262f4e88 (diff)
Force inline Slab::AllocInit().
Diffstat (limited to 'server/TracySlab.hpp')
-rw-r--r--server/TracySlab.hpp4
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 );