fix Replay::mergeEvents: use std::end() (#22215)

old-commit-hash: a89bdb6a05
commatwo_master
Dean Lee 4 years ago committed by GitHub
parent 1fd8466af0
commit 1e1c4fcd83
  1. 2
      selfdrive/ui/replay/replay.cc

@ -91,7 +91,7 @@ void Replay::mergeEvents() {
if (auto it = lrs.find(i); it != lrs.end()) {
*new_events += (*it)->events;
for (CameraType cam_type : ALL_CAMERAS) {
new_eidx[cam_type].insert((*it)->eidx[cam_type].begin(), (*it)->eidx[cam_type].begin());
new_eidx[cam_type].insert((*it)->eidx[cam_type].begin(), (*it)->eidx[cam_type].end());
}
}
}

Loading…
Cancel
Save