mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-04 19:25:51 +00:00
Fix UnsignedInteger::isZero
This commit is contained in:
@@ -176,7 +176,7 @@ public:
|
|||||||
/** Determine if all bits are zero. */
|
/** Determine if all bits are zero. */
|
||||||
bool isZero () const
|
bool isZero () const
|
||||||
{
|
{
|
||||||
for (int i = 0; i < Bytes; ++i)
|
for (int i = 0; i < CalcCount; ++i)
|
||||||
{
|
{
|
||||||
if (m_values [i] != 0)
|
if (m_values [i] != 0)
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user