[CI] clang-tidy auto fixes (#1335)

Fixes #1334. Please review and commit clang-tidy fixes.

Co-authored-by: kuznetsss <kuznetsss@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-04-08 14:15:25 +01:00
committed by GitHub
parent 8095e6893d
commit dade122c6e
2 changed files with 1 additions and 3 deletions

View File

@@ -25,7 +25,6 @@
#include "rpc/common/Types.hpp"
#include <boost/asio/spawn.hpp>
#include <boost/bimap.hpp>
#include <boost/bimap/bimap.hpp>
#include <boost/bimap/multiset_of.hpp>
#include <boost/json/conversion.hpp>
@@ -172,7 +171,7 @@ GetAggregatePriceHandler::process(GetAggregatePriceHandler::Input input, Context
auto const median = [&, size = out.extireStats.size]() {
auto const middle = size / 2;
if ((size % 2) == 0) {
static ripple::STAmount two{ripple::noIssue(), 2, 0};
static ripple::STAmount const two{ripple::noIssue(), 2, 0};
auto it = itAdvance(timestampPricesBiMap.right.begin(), middle - 1);
auto const& a1 = it->first;
auto const& a2 = (++it)->first;

View File

@@ -32,7 +32,6 @@
#include <gtest/gtest.h>
#include <ripple/basics/Blob.h>
#include <ripple/basics/base_uint.h>
#include <ripple/protocol/AccountID.h>
#include <ripple/protocol/Indexes.h>
#include <ripple/protocol/UintTypes.h>