message: Move static data and functions into unnamed namespace
diff: #include <map>
  +namespace
  +{
  /**
  * Yield ore table
  *
  * [2] Rare Metals
  * [3] Rare Minerals
  */
  -static const std::map<MineProductionRate, Mine::MineVein> YieldTable =
  + const std::map<MineProductionRate, Mine::MineVein> YieldTable =
  {
  {MineProductionRate::Low, {600, 500, 600, 500}},
  {MineProductionRate::Medium, {700, 550, 700, 550}},
  @@ -27,7 +29,7 @@ static const std::map<MineProductionRate, Mine::MineVein> YieldTable =
  };
  -static const std::array<std::string, 4> ResourceFieldNames =
  + const std::array<std::string, 4> ResourceFieldNames =
  {
  "common_metals", "common_minerals", "rare_metals", "rare_minerals"
  };
  @@ -36,7 +38,7 @@ static const std::array<std::string, 4> ResourceFieldNames =
  /**
  * Helper function that gets the total amount of ore
  */
  -static int getOreCount(const Mine::MineVeins& veins, Mine::OreType ore, int depth)
  + int getOreCount(const Mine::MineVeins& veins, Mine::OreType ore, int depth)
  {
  int value = 0;
  for (std::size_t i = 0; i < static_cast<std::size_t>(depth); ++i)
  @@ -47,7 +49,7 @@ static int getOreCount(const Mine::MineVeins& veins, Mine::OreType ore, int dept
  }
  -static void setDefaultFlags(std::bitset<6>& flags)
  + void setDefaultFlags(std::bitset<6>& flags)
  {
  flags[Mine::OreType::ORE_COMMON_METALS] = true;
  flags[Mine::OreType::ORE_COMMON_MINERALS] = true;
  @@ -56,6 +58,7 @@ static void setDefaultFlags(std::bitset<6>& flags)
  flags[4] = false;
  flags[5] = false;
  }
  +}
  Mine::Mine()
  