Fix clang-tidy errors

This commit is contained in:
JCW
2026-06-02 16:56:12 +01:00
parent ea26adf6b2
commit 93f7cabc17
2 changed files with 4 additions and 1 deletions

View File

@@ -369,7 +369,7 @@ public:
DatabaseCon&
getWalletDB() override
{
std::scoped_lock lock(walletDBMutex_);
std::scoped_lock const lock(walletDBMutex_);
if (!walletDB_)
{
DatabaseCon::Setup setup;

View File

@@ -1,9 +1,12 @@
#include <xrpl/ledger/AmendmentTable.h>
#include <xrpl/basics/BasicConfig.h>
#include <xrpl/basics/UnorderedContainers.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/basics/chrono.h>
#include <xrpl/basics/contract.h>
#include <xrpl/beast/hash/uhash.h>
#include <xrpl/beast/utility/Journal.h>
#include <xrpl/json/json_value.h>
#include <xrpl/ledger/View.h>
#include <xrpl/protocol/Feature.h>