mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-24 15:40:26 +00:00
exclude bugprone access
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
|
||||
namespace xrpl {
|
||||
|
||||
// NOLINTBEGIN(misc-const-correctness)
|
||||
// NOLINTBEGIN(misc-const-correctness, bugprone-unchecked-optional-access)
|
||||
class ConfidentialTransfer_test : public beast::unit_test::Suite
|
||||
{
|
||||
// Offset where the bulletproof begins in a send proof blob.
|
||||
@@ -9820,7 +9820,7 @@ public:
|
||||
testWithFeats(all);
|
||||
}
|
||||
};
|
||||
// NOLINTEND(misc-const-correctness)
|
||||
// NOLINTEND(misc-const-correctness, bugprone-unchecked-optional-access)
|
||||
|
||||
BEAST_DEFINE_TESTSUITE(ConfidentialTransfer, app, xrpl);
|
||||
} // namespace xrpl
|
||||
|
||||
@@ -52,6 +52,8 @@
|
||||
|
||||
namespace xrpl::test::jtx {
|
||||
|
||||
// NOLINTBEGIN(bugprone-unchecked-optional-access)
|
||||
|
||||
/**
|
||||
* @brief Helper function to convert a PedersenProofParams into the C library struct.
|
||||
*
|
||||
@@ -2411,4 +2413,6 @@ MPTTester::convertBackJV(MPTConvertBack const& arg, std::uint32_t seq)
|
||||
return jv;
|
||||
}
|
||||
|
||||
// NOLINTEND(bugprone-unchecked-optional-access)
|
||||
|
||||
} // namespace xrpl::test::jtx
|
||||
|
||||
@@ -349,6 +349,7 @@ class MPTTester
|
||||
std::unordered_map<AccountID, Buffer> privKeys_;
|
||||
|
||||
public:
|
||||
// NOLINTNEXTLINE(cppcoreguidelines-use-enum-class)
|
||||
enum EncryptedBalanceType {
|
||||
IssuerEncryptedBalance,
|
||||
HolderEncryptedInbox,
|
||||
|
||||
Reference in New Issue
Block a user