style: clang-tidy auto fixes (#1546)

Fixes #1545. Please review and commit clang-tidy fixes.

Co-authored-by: kuznetsss <kuznetsss@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-07-16 10:49:07 +01:00
committed by GitHub
parent e16a9510f1
commit d6ae890f83
5 changed files with 3 additions and 8 deletions

View File

@@ -576,9 +576,8 @@ public:
if (auto const result = res->template get<Blob, std::uint32_t>(); result) {
auto [_ ,seq] = result.value();
return seq;
} else {
LOG(log_.debug()) << "Could not fetch ledger object sequence - no rows";
}
} LOG(log_.debug()) << "Could not fetch ledger object sequence - no rows";
} else {
LOG(log_.error()) << "Could not fetch ledger object sequence: " << res.error();
}

View File

@@ -32,7 +32,6 @@
#include <xrpl/basics/base_uint.h>
#include <xrpl/protocol/AccountID.h>
#include <xrpl/protocol/UintTypes.h>
#include <xrpl/protocol/tokens.h>
#include <charconv>
#include <cstdint>

View File

@@ -46,7 +46,6 @@
#include <xrpl/protocol/STObject.h>
#include <xrpl/protocol/Serializer.h>
#include <xrpl/protocol/jss.h>
#include <xrpl/protocol/tokens.h>
#include <cstdint>
#include <functional>

View File

@@ -43,7 +43,6 @@
#include <xrpl/protocol/Serializer.h>
#include <xrpl/protocol/UintTypes.h>
#include <xrpl/protocol/jss.h>
#include <xrpl/protocol/tokens.h>
#include <algorithm>
#include <cstdint>
@@ -174,7 +173,7 @@ LedgerEntryHandler::process(LedgerEntryHandler::Input input, Context const& ctx)
ledgerObject = sharedPtrBackend_->fetchLedgerObject(key, deletedSeq.value() - 1, ctx.yield);
if (!ledgerObject || ledgerObject->empty())
return Error{Status{"entryNotFound"}};
output.deletedLedgerIndex = deletedSeq.value();
output.deletedLedgerIndex = deletedSeq;
}
ripple::STLedgerEntry const sle{ripple::SerialIter{ledgerObject->data(), ledgerObject->size()}, key};

View File

@@ -45,7 +45,6 @@
#include <xrpl/protocol/TER.h>
#include <xrpl/protocol/TxFormats.h>
#include <xrpl/protocol/UintTypes.h>
#include <xrpl/protocol/tokens.h>
#include <algorithm>
#include <chrono>