mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-04 11:55:51 +00:00
[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:
committed by
GitHub
parent
8095e6893d
commit
dade122c6e
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user