Add clang tidy (#864)

Fixes #863
This commit is contained in:
Sergey Kuznetsov
2023-10-03 10:43:54 +01:00
committed by GitHub
parent 69f5025a29
commit 4b53bef1f5
198 changed files with 2168 additions and 1288 deletions

View File

@@ -62,8 +62,10 @@ ValidateArrayAt::verify(boost::json::value& value, std::string_view key) const
auto& res = arr.at(idx_);
for (auto const& spec : specs_)
{
if (auto const ret = spec.process(res); not ret)
return Error{ret.error()};
}
return {};
}