mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +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
|
u64 UnsignedBigInteger::to_u64() const
|
||||||
{
|
{
|
||||||
VERIFY(sizeof(Word) == 4);
|
static_assert(sizeof(Word) == 4);
|
||||||
if (!length())
|
if (!length())
|
||||||
return 0;
|
return 0;
|
||||||
u64 value = m_words[0];
|
u64 value = m_words[0];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue