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,9 +391,7 @@ namespace
|
|||||||
const auto dbSplRoundToValue = static_cast<uint16_t>(Common::DbsplToLinear(dbSplRound) * static_cast<float>(std::numeric_limits<uint16_t>::max()));
|
const auto dbSplRoundToValue = static_cast<uint16_t>(Common::DbsplToLinear(dbSplRound) * static_cast<float>(std::numeric_limits<uint16_t>::max()));
|
||||||
|
|
||||||
if (dbSplRoundToValue == value)
|
if (dbSplRoundToValue == value)
|
||||||
{
|
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stream.WriteColumn(std::format("{}", dbSplRound));
|
stream.WriteColumn(std::format("{}", dbSplRound));
|
||||||
@ -411,9 +409,7 @@ namespace
|
|||||||
const auto centsRoundToValue = static_cast<uint16_t>(Common::CentsToHertz(centsRound) * static_cast<float>(std::numeric_limits<int16_t>::max()));
|
const auto centsRoundToValue = static_cast<uint16_t>(Common::CentsToHertz(centsRound) * static_cast<float>(std::numeric_limits<int16_t>::max()));
|
||||||
|
|
||||||
if (centsRoundToValue == value)
|
if (centsRoundToValue == value)
|
||||||
{
|
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stream.WriteColumn(std::format("{}", centsRound));
|
stream.WriteColumn(std::format("{}", centsRound));
|
||||||
@ -430,9 +426,7 @@ namespace
|
|||||||
const auto normValueRoundToValue = static_cast<uint8_t>(normValueRound * static_cast<float>(std::numeric_limits<uint8_t>::max()));
|
const auto normValueRoundToValue = static_cast<uint8_t>(normValueRound * static_cast<float>(std::numeric_limits<uint8_t>::max()));
|
||||||
|
|
||||||
if (normValueRoundToValue == value)
|
if (normValueRoundToValue == value)
|
||||||
{
|
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stream.WriteColumn(std::format("{}", normValueRound));
|
stream.WriteColumn(std::format("{}", normValueRound));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user