mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
Remove curly braces on single line statements
This commit is contained in:
parent
6beff28518
commit
e98fad73b9
@ -391,10 +391,8 @@ namespace
|
||||
const auto dbSplRoundToValue = static_cast<uint16_t>(Common::DbsplToLinear(dbSplRound) * static_cast<float>(std::numeric_limits<uint16_t>::max()));
|
||||
|
||||
if (dbSplRoundToValue == value)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
stream.WriteColumn(std::format("{}", dbSplRound));
|
||||
}
|
||||
@ -411,10 +409,8 @@ namespace
|
||||
const auto centsRoundToValue = static_cast<uint16_t>(Common::CentsToHertz(centsRound) * static_cast<float>(std::numeric_limits<int16_t>::max()));
|
||||
|
||||
if (centsRoundToValue == value)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
stream.WriteColumn(std::format("{}", centsRound));
|
||||
}
|
||||
@ -430,10 +426,8 @@ namespace
|
||||
const auto normValueRoundToValue = static_cast<uint8_t>(normValueRound * static_cast<float>(std::numeric_limits<uint8_t>::max()));
|
||||
|
||||
if (normValueRoundToValue == value)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
stream.WriteColumn(std::format("{}", normValueRound));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user