mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
refactor: Enable remaining clang-tidy cppcoreguidelines checks (#6538)
This commit is contained in:
@@ -708,9 +708,9 @@ invalidMPTAmountInTx(STObject const& tx)
|
||||
{
|
||||
if (auto const& field = tx.peekAtField(e.sField());
|
||||
(field.getSType() == STI_AMOUNT &&
|
||||
static_cast<STAmount const&>(field).holds<MPTIssue>()) ||
|
||||
safe_downcast<STAmount const&>(field).holds<MPTIssue>()) ||
|
||||
(field.getSType() == STI_ISSUE &&
|
||||
static_cast<STIssue const&>(field).holds<MPTIssue>()))
|
||||
safe_downcast<STIssue const&>(field).holds<MPTIssue>()))
|
||||
{
|
||||
if (e.supportMPT() != soeMPTSupported)
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user