mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 15:20:54 +00:00
chore: Enable modernize-unary-static-assert (#7705)
This commit is contained in:
@@ -112,7 +112,7 @@ class ElementComboIter
|
||||
};
|
||||
|
||||
std::uint16_t state_ = 0;
|
||||
static_assert(safeCast<size_t>(SB::Last) <= sizeof(decltype(state_)) * 8, "");
|
||||
static_assert(safeCast<size_t>(SB::Last) <= sizeof(decltype(state_)) * 8);
|
||||
STPathElement const* prev_ = nullptr;
|
||||
// disallow iss and cur to be specified with acc is specified (simplifies
|
||||
// some tests)
|
||||
|
||||
Reference in New Issue
Block a user