mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 23:00:55 +00:00
chore: Enable clang-tidy v21 new checks (#7031)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user