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

@@ -258,9 +258,9 @@ class Feature_test : public beast::unit_test::Suite
testInvalidParam(1);
testInvalidParam(1.1);
testInvalidParam(true);
testInvalidParam(json::Value(json::NullValue));
testInvalidParam(json::Value(json::ObjectValue));
testInvalidParam(json::Value(json::ArrayValue));
testInvalidParam(json::Value(json::ValueType::Null));
testInvalidParam(json::Value(json::ValueType::Object));
testInvalidParam(json::Value(json::ValueType::Array));
{
auto jrr = env.rpc("feature", "AllTheThings")[jss::result];