message: Use auto and const auto
diff: @@ -192,7 +192,7 @@ void MapViewState::onDiggerTaskComplete(Robot* robot)
  throw std::runtime_error("MapViewState::onDiggerTaskComplete() called with a Robot not in the Robot List!");
  }
  - Tile& tile = *mRobotList[robot];
  + auto& tile = *mRobotList[robot];
  const auto position = tile.xyz();
  if (position.z > mTileMap->maxDepth())
  @@ -200,19 +200,18 @@ void MapViewState::onDiggerTaskComplete(Robot* robot)
  throw std::runtime_error("Digger defines a depth that exceeds the maximum digging depth!");
  }
  - Direction dir = static_cast<Robodigger*>(robot)->direction(); // fugly
  -
  + const auto dir = static_cast<Robodigger*>(robot)->direction(); // fugly
  auto newPosition = position;
  if (dir == Direction::Down)
  {
  ++newPosition.z;
  - AirShaft* as1 = new AirShaft();
  + auto* as1 = new AirShaft();
  if (position.z > 0) { as1->ug(); }
  NAS2D::Utility<StructureManager>::get().addStructure(as1, &tile);
  - AirShaft* as2 = new AirShaft();
  + auto* as2 = new AirShaft();
  as2->ug();
  NAS2D::Utility<StructureManager>::get().addStructure(as2, &mTileMap->getTile(newPosition));
  