clang format/tidy fixes for modify_tilt_selection

This commit is contained in:
AdenKoperczak 2025-04-13 11:47:28 -04:00
parent 81ec5f9f7a
commit 17b2db64ef
No known key found for this signature in database
GPG key ID: 9843017036F62EE7
2 changed files with 3 additions and 4 deletions

View file

@ -243,7 +243,7 @@ void Level2SettingsWidget::UpdateElevationSelection(float elevation)
void Level2SettingsWidget::UpdateSettings(map::MapWidget* activeMap)
{
std::optional<float> currentElevationOption = activeMap->GetElevation();
float currentElevation =
const float currentElevation =
currentElevationOption.has_value() ? *currentElevationOption : 0.0f;
std::vector<float> elevationCuts = activeMap->GetElevationCuts();