Don't use braces around scalar initializers

This commit is contained in:
Dan Paulat 2024-09-27 09:13:45 -05:00
parent 584f5943b6
commit 40d70b0a13
2 changed files with 19 additions and 19 deletions

View file

@ -18,7 +18,7 @@ static const std::string logPrefix_ = "scwx::awips::ibw::impact_based_warnings";
static const boost::unordered_flat_map<Phenomenon, ImpactBasedWarningInfo>
impactBasedWarningInfo_ {
{Phenomenon::Marine,
ImpactBasedWarningInfo {.hasTornadoPossibleTag_ {true}}},
ImpactBasedWarningInfo {.hasTornadoPossibleTag_ = true}},
{Phenomenon::FlashFlood,
ImpactBasedWarningInfo {
.threatCategories_ {ThreatCategory::Base,
@ -26,14 +26,14 @@ static const boost::unordered_flat_map<Phenomenon, ImpactBasedWarningInfo>
ThreatCategory::Catastrophic}}},
{Phenomenon::SevereThunderstorm,
ImpactBasedWarningInfo {
.hasTornadoPossibleTag_ {true},
.hasTornadoPossibleTag_ = true,
.threatCategories_ {ThreatCategory::Base,
ThreatCategory::Considerable,
ThreatCategory::Destructive}}},
{Phenomenon::SnowSquall, ImpactBasedWarningInfo {}},
{Phenomenon::Tornado,
ImpactBasedWarningInfo {
.hasObservedTag_ {true},
.hasObservedTag_ = true,
.threatCategories_ {ThreatCategory::Base,
ThreatCategory::Considerable,
ThreatCategory::Catastrophic}}},