refactor: Use more scoped enums (#7086)

This commit is contained in:
Alex Kremer
2026-05-11 16:39:48 +01:00
committed by GitHub
parent 779b49cd93
commit cdee9a675c
379 changed files with 2771 additions and 2864 deletions

View File

@@ -1039,7 +1039,7 @@ public:
#if 0
// Have all beast::journal output printed to stdout
for (Peer* p : network)
p->sink.threshold(beast::severities::kAll);
p->sink.threshold(beast::Severity::All);
// Print ledger accept and fully validated events to stdout
StreamCollector sc{std::cout};
@@ -1086,7 +1086,7 @@ public:
ConsensusParms const p;
std::size_t peersUnchanged = 0;
auto logs = std::make_unique<Logs>(beast::severities::KError);
auto logs = std::make_unique<Logs>(beast::Severity::Error);
auto j = logs->journal("Test");
auto clog = std::make_unique<std::stringstream>();