mirror of
https://github.com/wolfpld/tracy
synced 2025-05-07 07:33:51 +00:00
Force inline GetFrameTreeItem().
This commit is contained in:
parent
7ef6944246
commit
7f0fb851b4
@ -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() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user