mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-04 13:02:09 +08:00
fix Replay::mergeEvents: use std::end() (#22215)
old-commit-hash: a89bdb6a05b7c5302702030ee3981aa2f7d7f941
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user