mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:10:04 +00:00
Fix default radar product in map settings
This commit is contained in:
parent
ca044850fa
commit
7b895333e2
1 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ public:
|
|||
MapSettings::MapSettings() : p(std::make_unique<MapSettingsImpl>()) {}
|
||||
MapSettings::~MapSettings() = default;
|
||||
|
||||
MapSettings::MapSettings(MapSettings&&) noexcept = default;
|
||||
MapSettings::MapSettings(MapSettings&&) noexcept = default;
|
||||
MapSettings& MapSettings::operator=(MapSettings&&) noexcept = default;
|
||||
|
||||
size_t MapSettings::count() const
|
||||
|
|
@ -134,7 +134,7 @@ std::shared_ptr<MapSettings> MapSettings::Load(const boost::json::value* json,
|
|||
!util::json::FromJsonString(mapRecord,
|
||||
"radar_product",
|
||||
mapRecordSettings.radarProduct_,
|
||||
kDefaultRadarSite_);
|
||||
kDefaultRadarProduct_[i]);
|
||||
|
||||
// Validate Radar Site
|
||||
if (config::RadarSite::Get(mapRecordSettings.radarSite_) == nullptr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue