mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
style: clang-tidy auto fixes (#1847)
Fixes #1846. Please review and commit clang-tidy fixes. Co-authored-by: kuznetsss <15742918+kuznetsss@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
957028699b
commit
35b9a066e3
@@ -25,7 +25,6 @@
|
||||
#include "util/TestWsServer.hpp"
|
||||
#include "util/prometheus/Gauge.hpp"
|
||||
|
||||
#include <boost/asio/io_context.hpp>
|
||||
#include <boost/asio/spawn.hpp>
|
||||
#include <boost/json/object.hpp>
|
||||
#include <boost/json/serialize.hpp>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <boost/asio/spawn.hpp>
|
||||
#include <gmock/gmock.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
using namespace util;
|
||||
|
||||
|
||||
@@ -323,7 +323,7 @@ TEST_F(WebWsConnectionTests, CloseCalledFromMultipleSubCoroutines)
|
||||
runSpawnWithTimeout(std::chrono::seconds{1}, [&](boost::asio::yield_context yield) {
|
||||
auto wsConnection = acceptConnection(yield);
|
||||
util::CoroutineGroup coroutines{yield};
|
||||
for ([[maybe_unused]] int i : std::ranges::iota_view{0, 2}) {
|
||||
for ([[maybe_unused]] int const i : std::ranges::iota_view{0, 2}) {
|
||||
coroutines.spawn(yield, [&wsConnection, &closeCalled](boost::asio::yield_context innerYield) {
|
||||
wsConnection->close(innerYield);
|
||||
closeCalled.Call();
|
||||
|
||||
Reference in New Issue
Block a user