mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
style: clang-tidy auto fixes (#2519)
This commit is contained in:
committed by
GitHub
parent
d9faf7a833
commit
7c68770787
@@ -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);
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user