1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-07 07:33:51 +00:00

Force inline GetFrameTreeItem().

This commit is contained in:
Bartosz Taudul 2018-08-18 18:46:16 +02:00
parent 7ef6944246
commit 7f0fb851b4

View File

@ -6459,7 +6459,7 @@ void View::ListMemData( T ptr, T end, std::function<void(T&)> DrawAddress, const
ImGui::EndChild();
}
static inline CallstackFrameTree* GetFrameTreeItem( std::vector<CallstackFrameTree>& tree, uint64_t idx )
static tracy_force_inline CallstackFrameTree* GetFrameTreeItem( std::vector<CallstackFrameTree>& 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() )