Move to clang-format-16 (#908)

Fixes #848
This commit is contained in:
Alex Kremer
2023-10-19 16:55:04 +01:00
committed by GitHub
parent 5de87b9ef8
commit 1aab2b94b1
265 changed files with 3950 additions and 4743 deletions

View File

@@ -38,8 +38,7 @@ Section::verify(boost::json::value& value, std::string_view key) const
if (!res.is_object())
return {};
for (auto const& spec : specs)
{
for (auto const& spec : specs) {
if (auto const ret = spec.process(res); not ret)
return Error{ret.error()};
}
@@ -61,8 +60,7 @@ ValidateArrayAt::verify(boost::json::value& value, std::string_view key) const
return Error{Status{RippledError::rpcINVALID_PARAMS}};
auto& res = arr.at(idx_);
for (auto const& spec : specs_)
{
for (auto const& spec : specs_) {
if (auto const ret = spec.process(res); not ret)
return Error{ret.error()};
}