mirror of
https://github.com/Xahau/xahaud.git
synced 2026-07-24 15:40:08 +00:00
clang-format
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <ostream>
|
||||
#include <stack>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#include <optional>
|
||||
|
||||
using GuardLog =
|
||||
std::optional<std::reference_wrapper<std::basic_ostream<char>>>;
|
||||
|
||||
@@ -447,7 +447,7 @@ EscrowFinish::preflight(PreflightContext const& ctx)
|
||||
if ((!ctx.tx.isFieldPresent(sfEscrowID) &&
|
||||
!ctx.tx.isFieldPresent(sfOfferSequence)) ||
|
||||
(ctx.tx.isFieldPresent(sfEscrowID) &&
|
||||
ctx.tx.isFieldPresent(sfOfferSequence)))
|
||||
ctx.tx.isFieldPresent(sfOfferSequence)))
|
||||
return temMALFORMED;
|
||||
}
|
||||
|
||||
@@ -730,7 +730,7 @@ EscrowCancel::preflight(PreflightContext const& ctx)
|
||||
if ((!ctx.tx.isFieldPresent(sfEscrowID) &&
|
||||
!ctx.tx.isFieldPresent(sfOfferSequence)) ||
|
||||
(ctx.tx.isFieldPresent(sfEscrowID) &&
|
||||
ctx.tx.isFieldPresent(sfOfferSequence)))
|
||||
ctx.tx.isFieldPresent(sfOfferSequence)))
|
||||
return temMALFORMED;
|
||||
}
|
||||
|
||||
|
||||
@@ -924,7 +924,8 @@ Reader::getLocationLineAndColumn(Location location) const
|
||||
{
|
||||
int line, column;
|
||||
getLocationLineAndColumn(location, line, column);
|
||||
return "Line " + std::to_string(line) + ", Column " + std::to_string(column);
|
||||
return "Line " + std::to_string(line) + ", Column " +
|
||||
std::to_string(column);
|
||||
}
|
||||
|
||||
std::string
|
||||
|
||||
@@ -320,7 +320,7 @@ public:
|
||||
HSFEE,
|
||||
ter(temMALFORMED));
|
||||
|
||||
env(ripple::test::jtx::hook(alice, {{}}, 0),
|
||||
env(ripple::test::jtx::hook(alice, Json::Value{Json::arrayValue}, 0),
|
||||
M("Must have a non-empty hooks field"),
|
||||
HSFEE,
|
||||
ter(temMALFORMED));
|
||||
|
||||
Reference in New Issue
Block a user