chore: Enable clang-tidy v21 new checks (#7031)

This commit is contained in:
Alex Kremer
2026-04-29 16:17:35 +01:00
committed by GitHub
parent 46b997b774
commit f7275b7ad9
259 changed files with 2193 additions and 1888 deletions

View File

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