mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:37:34 +00:00
LibCrypto: Make a VERIFY a static_assert since it only uses constants
This commit is contained in:
parent
fce2b33758
commit
2290fbc2a0
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ String UnsignedBigInteger::to_base(u16 N) const
|
|||
|
||||
u64 UnsignedBigInteger::to_u64() const
|
||||
{
|
||||
VERIFY(sizeof(Word) == 4);
|
||||
static_assert(sizeof(Word) == 4);
|
||||
if (!length())
|
||||
return 0;
|
||||
u64 value = m_words[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue