Skip to content

Commit

Permalink
Update BYTETracker.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
cj-mills committed Dec 16, 2023
1 parent f6acd26 commit 90b88fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/BYTETracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,9 @@ void BYTETracker::handle_lost_and_removed_tracks(
this->lost_tracks = sub_tracks(this->lost_tracks, this->tracked_tracks);
this->lost_tracks.insert(this->lost_tracks.end(), lost_tracks.begin(), lost_tracks.end());
this->lost_tracks = sub_tracks(this->lost_tracks, this->removed_tracks);

// Clean up removed tracks
this->removed_tracks.clear();
}

/**
Expand Down

0 comments on commit 90b88fa

Please sign in to comment.