mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 13:30:06 +00:00
clang tidy fixes for modify_tilt_selection
This commit is contained in:
parent
be972cdb7e
commit
443f5a3615
1 changed files with 2 additions and 0 deletions
|
|
@ -726,6 +726,8 @@ units::angle::degrees<double> ProductDescriptionBlock::elevation() const
|
|||
|
||||
if (p->elevationNumber_ > 0)
|
||||
{
|
||||
// Elevation is given in tenths of a degree
|
||||
// NOLINTNEXTLINE(cppcoreguidelines-avoid-magic-numbers)
|
||||
elevation = static_cast<int16_t>(p->parameters_[2]) * 0.1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue