message: Wrap functions in unnamed namespace and remove `static`
diff: #include <algorithm>
  -static inline int consumeFood(FoodProduction& producer, int amountToConsume)
  +namespace
  +{
  +int consumeFood(FoodProduction& producer, int amountToConsume)
  {
  const auto foodLevel = producer.foodLevel();
  const auto toTransfer = std::min(foodLevel, amountToConsume);
  @@ -32,7 +34,7 @@ static inline int consumeFood(FoodProduction& producer, int amountToConsume)
  }
  -static void consumeFood(const std::vector<FoodProduction*>& foodProducers, int amountToConsume)
  +void consumeFood(const std::vector<FoodProduction*>& foodProducers, int amountToConsume)
  {
  for (auto foodProducer : foodProducers)
  {
  @@ -42,7 +44,7 @@ static void consumeFood(const std::vector<FoodProduction*>& foodProducers, int a
  }
  -static RouteList findRoutes(micropather::MicroPather* solver, TileMap* tilemap, Structure* mine, const std::vector<OreRefining*>& smelters)
  +RouteList findRoutes(micropather::MicroPather* solver, TileMap* tilemap, Structure* mine, const std::vector<OreRefining*>& smelters)
  {
  auto& structureManager = NAS2D::Utility<StructureManager>::get();
  auto& start = structureManager.tileFromStructure(mine);
  @@ -68,7 +70,7 @@ static RouteList findRoutes(micropather::MicroPather* solver, TileMap* tilemap,
  }
  -static Route findLowestCostRoute(RouteList& routeList)
  +Route findLowestCostRoute(RouteList& routeList)
  {
  if (routeList.empty()) { return Route(); }
  @@ -77,7 +79,7 @@ static Route findLowestCostRoute(RouteList& routeList)
  }
  -static bool routeObstructed(Route& route)
  +bool routeObstructed(Route& route)
  {
  for (auto tileVoidPtr : route.path)
  {
  @@ -91,6 +93,7 @@ static bool routeObstructed(Route& route)
  return false;
  }
  +}
  void MapViewState::updatePopulation()
  