clang tidy/format fixes for update_tdwr_products

This commit is contained in:
AdenKoperczak 2025-03-14 13:18:00 -04:00
parent 6509fc7043
commit dc72e9fbfc
4 changed files with 8 additions and 10 deletions

View file

@ -327,7 +327,7 @@ void Level3ProductsWidgetImpl::SelectProductCategory(
{
UpdateCategorySelection(category);
std::shared_lock lock {categoryMapMutex_};
const std::shared_lock lock {categoryMapMutex_};
Q_EMIT self_->RadarProductSelected(
common::RadarProductGroup::Level3,
@ -342,7 +342,7 @@ void Level3ProductsWidget::UpdateAvailableProducts(
// Save the category map
{
std::unique_lock lock {p->categoryMapMutex_};
const std::unique_lock lock {p->categoryMapMutex_};
p->categoryMap_ = updatedCategoryMap;
}

View file

@ -357,9 +357,7 @@ void Level3RadialView::ComputeSweep()
// Compute gate size (number of base gates per bin)
const std::uint16_t gateSize = std::max<std::uint16_t>(
1,
dataMomentInterval /
static_cast<std::uint16_t>(gateLength));
1, dataMomentInterval / static_cast<std::uint16_t>(gateLength));
// Compute gate range [startGate, endGate)
std::uint16_t startGate = 0;