Commit 6234946c authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

for range via return

parent cc6d0c12
......@@ -135,8 +135,7 @@ void PublisherLaserMap::updateTrajectory()
scans_.clear();
// copy new trajectory poses and scans
auto frame_map = problem_->getTrajectory()->getFrameMap(); // copy for thread-safe
for (auto frame_pair : frame_map)
for (auto frame_pair : problem_->getTrajectory()->getFrameMap())
{
if (frame_pair.second->isRemoving())
continue;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment