You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps needs a continue after deletion? Because currentGroup is accessed immediately afterwards. It's bound to fail, right? Or am I missing something?
The text was updated successfully, but these errors were encountered:
Where do you think it is accessed immediately afterwards?
The expression in line 261 and the statement in line 263 are inside an "else" block. Thus they cannot be executed at the same time in which the delete statement (inside the if that belongs to this else) is invoked, as they are in alternative code paths.
Also, most foreach can be safely converted to for loops, I think.
As far as I am aware, there are only specific cases where the Qt foreach is mandatory.
Possibly unrelated, I saw that someone else had ported most of pedsim_ros to ROS2. I am completing just that. :-)
pedsim_ros/pedsim_simulator/src/scene.cpp
Line 260 in de37726
Perhaps needs a continue after deletion? Because
currentGroup
is accessed immediately afterwards. It's bound to fail, right? Or am I missing something?The text was updated successfully, but these errors were encountered: