From 7f0fb851b4f0e183a57413f313d29bf4de610b68 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 18 Aug 2018 18:46:16 +0200 Subject: [PATCH] Force inline GetFrameTreeItem(). --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 1141efa4..f3ce13af 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -6459,7 +6459,7 @@ void View::ListMemData( T ptr, T end, std::function DrawAddress, const ImGui::EndChild(); } -static inline CallstackFrameTree* GetFrameTreeItem( std::vector& tree, uint64_t idx ) +static tracy_force_inline CallstackFrameTree* GetFrameTreeItem( std::vector& tree, uint64_t idx ) { auto it = std::find_if( tree.begin(), tree.end(), [idx] ( const auto& v ) { return v.frame == idx; } ); if( it == tree.end() )