From 2a28c6cc721707fd69da10ac812a7ff8280ab4bc Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 2 Nov 2019 15:39:23 +0100 Subject: [PATCH] Use short ptr for callstack frame data. --- server/TracyEvent.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/TracyEvent.hpp b/server/TracyEvent.hpp index af54259e..2d034597 100644 --- a/server/TracyEvent.hpp +++ b/server/TracyEvent.hpp @@ -8,6 +8,7 @@ #include #include "TracyCharUtil.hpp" +#include "TracyShortPtr.hpp" #include "TracyVector.hpp" #include "tracy_flat_hash_map.hpp" #include "../common/TracyForceInline.hpp" @@ -288,7 +289,7 @@ enum { CallstackFrameSize = sizeof( CallstackFrame ) }; struct CallstackFrameData { - CallstackFrame* data; + short_ptr data; uint8_t size; };