avidbots / flatland

A 2D robot simulator for ROS
BSD 3-Clause "New" or "Revised" License
107 stars 65 forks source link

Refactor to remove compiler warnings jazzy #107

Closed avidbots-cameron closed 4 days ago

avidbots-cameron commented 5 days ago

Made some refactoring changes to avoid compiler warnings on gcc 13.2.0. The most drastic changes are to call (void)param to avoid [-Wunused-parameter] warnings for input argument param, and to replace std::random_shuffle with std::shuffle using a randomizer from .