style: clang-tidy auto fixes (#1796)

Fixes #1795. Turning off noisy clang-tidy check.
This commit is contained in:
github-actions[bot]
2024-12-18 13:51:39 +00:00
committed by GitHub
parent 64b50b419f
commit 017cf2adc9
12 changed files with 28 additions and 53 deletions

View File

@@ -43,7 +43,6 @@ namespace etl {
* @return MPT and holder account pair
*/
std::optional<MPTHolderData>
// NOLINTNEXTLINE(misc-use-internal-linkage)
getMPTokenAuthorize(ripple::TxMeta const& txMeta)
{
for (ripple::STObject const& node : txMeta.getNodes()) {
@@ -61,7 +60,6 @@ getMPTokenAuthorize(ripple::TxMeta const& txMeta)
}
std::optional<MPTHolderData>
// NOLINTNEXTLINE(misc-use-internal-linkage)
getMPTHolderFromTx(ripple::TxMeta const& txMeta, ripple::STTx const& sttx)
{
if (txMeta.getResultTER() != ripple::tesSUCCESS || sttx.getTxnType() != ripple::TxType::ttMPTOKEN_AUTHORIZE)
@@ -71,7 +69,6 @@ getMPTHolderFromTx(ripple::TxMeta const& txMeta, ripple::STTx const& sttx)
}
std::optional<MPTHolderData>
// NOLINTNEXTLINE(misc-use-internal-linkage)
getMPTHolderFromObj(std::string const& key, std::string const& blob)
{
ripple::STLedgerEntry const sle =