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

@@ -130,12 +130,12 @@ STArray::getText() const
json::Value
STArray::getJson(JsonOptions p) const
{
json::Value v = json::ArrayValue;
json::Value v = json::ValueType::Array;
for (auto const& object : v_)
{
if (object.getSType() != STI_NOTPRESENT)
{
json::Value& inner = v.append(json::ObjectValue);
json::Value& inner = v.append(json::ValueType::Object);
inner[object.getFName().getJsonName()] = object.getJson(p);
}
}