From 04c5bde0e37fc0f514ffbe2d1f12e8e797d74216 Mon Sep 17 00:00:00 2001 From: Denis Angell Date: Wed, 18 Sep 2024 21:46:04 +0200 Subject: [PATCH] clang-format --- include/xrpl/protocol/Batch.h | 2 +- src/libxrpl/protocol/STTx.cpp | 2 +- src/test/app/Batch_test.cpp | 3 ++- src/test/jtx/batch.h | 8 ++++---- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/include/xrpl/protocol/Batch.h b/include/xrpl/protocol/Batch.h index ca830dd4f8f..2b4144313e8 100644 --- a/include/xrpl/protocol/Batch.h +++ b/include/xrpl/protocol/Batch.h @@ -16,8 +16,8 @@ //============================================================================== #include -#include #include +#include namespace ripple { diff --git a/src/libxrpl/protocol/STTx.cpp b/src/libxrpl/protocol/STTx.cpp index 786b2dc2037..3a5e8aac634 100644 --- a/src/libxrpl/protocol/STTx.cpp +++ b/src/libxrpl/protocol/STTx.cpp @@ -29,8 +29,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/src/test/app/Batch_test.cpp b/src/test/app/Batch_test.cpp index 0e3ca760ae5..6cadb3fbbad 100644 --- a/src/test/app/Batch_test.cpp +++ b/src/test/app/Batch_test.cpp @@ -329,7 +329,8 @@ class Batch_test : public beast::unit_test::suite env.close(); } - // TODO: #40 failed: unhandled exception: Field not found: TransactionType + // TODO: #40 failed: unhandled exception: Field not found: + // TransactionType // // temINVALID_BATCH: Batch: TransactionType missing in array entry. // { // auto const seq = env.seq(alice); diff --git a/src/test/jtx/batch.h b/src/test/jtx/batch.h index f09f66826a9..38d91b905e6 100644 --- a/src/test/jtx/batch.h +++ b/src/test/jtx/batch.h @@ -112,8 +112,9 @@ class sig sig(std::vector signers_); template - requires std::convertible_to - explicit sig(AccountType&& a0, Accounts&&... aN) + requires std::convertible_to explicit sig( + AccountType&& a0, + Accounts&&... aN) : sig{std::vector{ std::forward(a0), std::forward(aN)...}} @@ -165,8 +166,7 @@ class msig msig(Account const& masterAccount, std::vector signers_); template - requires std::convertible_to - explicit msig( + requires std::convertible_to explicit msig( Account const& masterAccount, AccountType&& a0, Accounts&&... aN)