mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-24 15:40:26 +00:00
chore: Enable clang-tidy misc checks (#6655)
This commit is contained in:
@@ -31,7 +31,7 @@ QualityFunction::outFromAvgQ(Quality const& quality)
|
||||
{
|
||||
if (m_ != 0 && quality.rate() != beast::zero)
|
||||
{
|
||||
saveNumberRoundMode rm(Number::setround(Number::rounding_mode::upward));
|
||||
saveNumberRoundMode const rm(Number::setround(Number::rounding_mode::upward));
|
||||
auto const out = (1 / quality.rate() - b_) / m_;
|
||||
if (out <= 0)
|
||||
return std::nullopt;
|
||||
|
||||
Reference in New Issue
Block a user