mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-05 08:48:03 +00:00
Bugfixes. isChildLeaf had wrong test. peekNextItem walked the wrong way.
This commit is contained in:
2
SHAMap.h
2
SHAMap.h
@@ -40,7 +40,7 @@ public:
|
||||
|
||||
bool isRoot() const { return mDepth==0; }
|
||||
bool isLeaf() const { return mDepth==leafDepth; }
|
||||
bool isChildLeaf() const { return mDepth<(leafDepth-1); }
|
||||
bool isChildLeaf() const { return mDepth==(leafDepth-1); }
|
||||
bool isInner() const { return !isRoot() && !isLeaf(); }
|
||||
virtual bool isPopulated(void) const { return false; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user