From 8c30f75b4ded045f7068eb54c1f9a354c1161a98 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 19 Nov 2017 17:15:24 +0100 Subject: [PATCH] Prevent inlining of vector reallocation function. --- server/TracyVector.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/TracyVector.hpp b/server/TracyVector.hpp index 2edfb21a..082f4551 100644 --- a/server/TracyVector.hpp +++ b/server/TracyVector.hpp @@ -4,6 +4,7 @@ #include #include +#include "../common/TracyForceInline.hpp" #include "TracyMemory.hpp" #include "TracyPopcnt.hpp" @@ -167,7 +168,7 @@ public: } private: - void AllocMore() + tracy_no_inline void AllocMore() { if( m_ptr == nullptr ) {