From 04eaf358d0dc3206af1d2a5ac32a3fffd8a73121 Mon Sep 17 00:00:00 2001 From: Rokas Kupstys Date: Tue, 5 May 2020 12:24:16 +0300 Subject: [PATCH] Fix linking error in some configurations. Unresolved CallTrace symbol was observed in static MSVC RelWithDebInfo build (but not in debug build). --- client/TracyCallstack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracyCallstack.cpp b/client/TracyCallstack.cpp index 241cefbb..81cd5f56 100644 --- a/client/TracyCallstack.cpp +++ b/client/TracyCallstack.cpp @@ -133,7 +133,7 @@ void InitCallstack() #endif } -TRACY_API tracy_force_inline uintptr_t* CallTrace( int depth ) +TRACY_API uintptr_t* CallTrace( int depth ) { auto trace = (uintptr_t*)tracy_malloc( ( 1 + depth ) * sizeof( uintptr_t ) ); const auto num = RtlWalkFrameChain( (void**)( trace + 1 ), depth, 0 );