mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Missed one valid case.
This commit is contained in:
parent
71b6e81500
commit
0d24a2739d
@ -400,7 +400,7 @@ void View::InsertZone( Event* zone, Event* parent, Vector<Event*>& vec )
|
||||
auto it = std::upper_bound( vec.begin(), vec.end(), zone->start, [] ( const auto& l, const auto& r ) { return l < r->start; } );
|
||||
if( it == vec.end() )
|
||||
{
|
||||
assert( vec.back()->end == -1 );
|
||||
assert( vec.back()->end == -1 || vec.back()->end >= zone->end );
|
||||
InsertZone( zone, vec.back(), vec.back()->child );
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user