Skip to content

Commit 1483ffe

Browse files
committed
[FOLD] Make clang-format happy
1 parent a290859 commit 1483ffe

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/ripple/protocol/ErrorCodes.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ enum error_code_i {
8686
rpcNO_PF_REQUEST = 33,
8787

8888
// Bad parameter
89-
//NOT USED DO NOT USE AGAIN rpcACT_BITCOIN = 34,
89+
// NOT USED DO NOT USE AGAIN rpcACT_BITCOIN = 34,
9090
rpcACT_MALFORMED = 35,
9191
rpcALREADY_MULTISIG = 36,
9292
rpcALREADY_SINGLE_SIG = 37,

src/ripple/protocol/impl/tokens.cpp

+2-5
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,14 @@ namespace ripple {
3333
static constexpr char const* alphabetForward =
3434
"rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz";
3535

36-
static constexpr std::array<int, 256> const alphabetReverse = []()
37-
{
36+
static constexpr std::array<int, 256> const alphabetReverse = []() {
3837
std::array<int, 256> map{};
3938
for (auto& m : map)
4039
m = -1;
4140
for (int i = 0, j = 0; alphabetForward[i] != 0; ++i)
4241
map[static_cast<unsigned char>(alphabetForward[i])] = j++;
4342
return map;
44-
}
45-
();
43+
}();
4644

4745
template <class Hasher>
4846
static typename Hasher::result_type
@@ -245,4 +243,3 @@ decodeBase58Token(std::string const& s, TokenType type)
245243
}
246244

247245
} // namespace ripple
248-

0 commit comments

Comments
 (0)