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

@@ -958,7 +958,7 @@ class View_test : public beast::unit_test::Suite
auto const bob = Account("bob");
// The first Env.
Env eA(*this, envconfig(), nullptr, beast::severities::KDisabled);
Env eA(*this, envconfig(), nullptr, beast::Severity::Disabled);
eA.fund(XRP(10000), alice);
eA.close();
@@ -970,7 +970,7 @@ class View_test : public beast::unit_test::Suite
// The two Env's can't share the same ports, so modify the config
// of the second Env to use higher port numbers
Env eB{*this, envconfig(), nullptr, beast::severities::KDisabled};
Env eB{*this, envconfig(), nullptr, beast::Severity::Disabled};
// Make ledgers that are incompatible with the first ledgers. Note
// that bob is funded before alice.