style: clang-tidy auto fixes (#2519)

This commit is contained in:
github-actions[bot]
2025-09-04 10:57:00 +01:00
committed by GitHub
parent d9faf7a833
commit 7c68770787
9 changed files with 6 additions and 11 deletions

View File

@@ -95,7 +95,7 @@ TEST_F(ProxyIpResolverTest, FromConfig)
TEST_P(ProxyIpResolverTest, ResolveClientIp)
{
auto const& params = GetParam();
ProxyIpResolver resolver(params.proxyIps, params.proxyTokens);
ProxyIpResolver const resolver(params.proxyIps, params.proxyTokens);
ProxyIpResolver::HttpHeaders headers;
for (auto const& [key, value] : params.headers) {
headers.set(key, value);

View File

@@ -38,7 +38,6 @@
#include <boost/beast/http/status.hpp>
#include <boost/beast/http/string_body.hpp>
#include <boost/beast/http/verb.hpp>
#include <fmt/format.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>

View File

@@ -39,9 +39,7 @@
#include <boost/asio/spawn.hpp>
#include <boost/asio/steady_timer.hpp>
#include <boost/beast/core/flat_buffer.hpp>
#include <boost/beast/http/field.hpp>
#include <boost/beast/http/status.hpp>
#include <fmt/format.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>