xo-alloc2: bugfix for DX1CollectorIterator
This commit is contained in:
parent
4fb50592ac
commit
eb8b89450f
6 changed files with 73 additions and 5 deletions
|
|
@ -87,6 +87,12 @@ namespace xo {
|
|||
cmpresult
|
||||
DArenaIterator::compare(const DArenaIterator & other_ix) const noexcept
|
||||
{
|
||||
scope log(XO_DEBUG(false),
|
||||
xtag("arena", arena_),
|
||||
xtag("pos", pos_),
|
||||
xtag("other.arena", other_ix.arena_),
|
||||
xtag("other.pos", other_ix.pos_));
|
||||
|
||||
if (is_invalid() || (arena_ != other_ix.arena_))
|
||||
return cmpresult::incomparable();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue