style: clang-tidy auto fixes (#2958)

Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-02-23 13:54:07 +00:00
committed by GitHub
parent 2d6f82c27f
commit af736717fc
38 changed files with 138 additions and 72 deletions

View File

@@ -46,10 +46,11 @@ struct NgErrorHandlingTests : public virtual ::testing::Test {
static Request
makeRequest(bool isHttp, std::optional<std::string> body = std::nullopt)
{
if (isHttp)
if (isHttp) {
return Request{
http::request<http::string_body>{http::verb::post, "/", 11, body.value_or("")}
};
}
static Request::HttpHeaders const kHEADERS;
return Request{body.value_or(""), kHEADERS};
}