chore: Add clang-tidy 19 checks (#1774)

Fix #1664
This commit is contained in:
Alex Kremer
2024-12-09 16:27:53 +00:00
committed by GitHub
parent a7074dbf0f
commit 475e309f25
87 changed files with 3135 additions and 2711 deletions

View File

@@ -215,7 +215,11 @@ struct Custom {
{
ASSERT(value.is_object(), "Value must be an object");
auto const& obj = value.as_object();
return {boost::json::value_to<std::string>(obj.at("str")), obj.at("int").as_int64(), obj.at("bool").as_bool()};
return {
.a = boost::json::value_to<std::string>(obj.at("str")),
.b = obj.at("int").as_int64(),
.c = obj.at("bool").as_bool()
};
}
};