chore: Enable clang-tidy misc checks (#6655)

This commit is contained in:
Alex Kremer
2026-03-31 18:29:45 +01:00
committed by GitHub
parent c3fae847f3
commit 2502befb42
469 changed files with 3915 additions and 3965 deletions

View File

@@ -12,7 +12,7 @@ namespace xrpl {
bool
LoadFeeTrack::raiseLocalFee()
{
std::lock_guard sl(lock_);
std::lock_guard const sl(lock_);
if (++raiseCount_ < 2)
return false;
@@ -37,7 +37,7 @@ LoadFeeTrack::raiseLocalFee()
bool
LoadFeeTrack::lowerLocalFee()
{
std::lock_guard sl(lock_);
std::lock_guard const sl(lock_);
std::uint32_t const origFee = localTxnLoadFee_;
raiseCount_ = 0;