diff --git a/scwx-qt/source/scwx/qt/manager/alert_manager.cpp b/scwx-qt/source/scwx/qt/manager/alert_manager.cpp index 4936986b..757754a9 100644 --- a/scwx-qt/source/scwx/qt/manager/alert_manager.cpp +++ b/scwx-qt/source/scwx/qt/manager/alert_manager.cpp @@ -151,7 +151,7 @@ void AlertManager::Impl::HandleAlert(const types::TextEventKey& key, std::string alertCounty = audioSettings.alert_county().GetValue(); auto alertRadius = units::length::kilometers( audioSettings.alert_radius().GetValue()); - std::string alertWFO = audioSettings.alert_wfo().GetValue(); + std::string alertWFO = audioSettings.alert_wfo().GetValue(); auto message = textEventManager_->message_list(key).at(messageIndex); @@ -186,9 +186,7 @@ void AlertManager::Impl::HandleAlert(const types::TextEventKey& key, auto alertCoordinates = segment->codedLocation_->coordinates(); activeAtLocation = util::GeographicLib::AreaInRangeOfPoint( - alertCoordinates, - currentCoordinate, - alertRadius); + alertCoordinates, currentCoordinate, alertRadius); } else if (locationMethod == types::LocationMethod::County) { @@ -196,7 +194,9 @@ void AlertManager::Impl::HandleAlert(const types::TextEventKey& key, auto fipsIds = segment->header_->ugc_.fips_ids(); auto it = std::find(fipsIds.cbegin(), fipsIds.cend(), alertCounty); activeAtLocation = it != fipsIds.cend(); - } else if (locationMethod == types::LocationMethod::WFO) { + } + else if (locationMethod == types::LocationMethod::WFO) + { std::string wfoId = vtec.pVtec_.office_id(); activeAtLocation = wfoId == alertWFO;