chore: Enable modernize-unary-static-assert (#7705)

This commit is contained in:
Ayaz Salikhov
2026-07-02 19:30:59 +01:00
committed by GitHub
parent 6f0f5b8bb3
commit 41622b87ae
17 changed files with 203 additions and 206 deletions

View File

@@ -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)