mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 23:00:55 +00:00
refactor: Use more scoped enums (#7086)
This commit is contained in:
@@ -213,7 +213,7 @@ class TMGetObjectByHash_test : public beast::unit_test::Suite
|
||||
void
|
||||
run() override
|
||||
{
|
||||
int const limit = static_cast<int>(Tuning::HardMaxReplyNodes);
|
||||
int const limit = static_cast<int>(Tuning::kHARD_MAX_REPLY_NODES);
|
||||
testReplyLimit(limit + 1, limit);
|
||||
testReplyLimit(limit, limit);
|
||||
testReplyLimit(limit - 1, limit - 1);
|
||||
|
||||
@@ -350,7 +350,7 @@ public:
|
||||
void
|
||||
testProtocol()
|
||||
{
|
||||
auto thresh = beast::severities::Severity::KInfo;
|
||||
auto thresh = beast::Severity::Info;
|
||||
auto logs = std::make_unique<Logs>(thresh);
|
||||
|
||||
protocol::TMManifests const manifests;
|
||||
|
||||
Reference in New Issue
Block a user