chore: Enable clang-tidy misc checks (#6655)

This commit is contained in:
Alex Kremer
2026-03-31 18:29:45 +01:00
committed by GitHub
parent c3fae847f3
commit 2502befb42
469 changed files with 3915 additions and 3965 deletions

View File

@@ -1093,7 +1093,7 @@ parseArray(
auto ret = parseObject(ss.str(), objectFields, nameField, depth + 1, error);
if (!ret)
{
std::string errMsg = error["error_message"].asString();
std::string const errMsg = error["error_message"].asString();
error["error_message"] = "Error at '" + ss.str() + "'. " + errMsg;
return std::nullopt;
}