xo-alloc2: missed operator defs

This commit is contained in:
Roland Conybeare 2026-05-08 20:10:40 -04:00
commit 1780a50e45
2 changed files with 4 additions and 0 deletions

View file

@ -45,6 +45,9 @@ namespace xo {
enum code code_;
};
inline bool operator==(VisitReason x, VisitReason y) { return x.code() == y.code(); }
inline bool operator!=(VisitReason x, VisitReason y) { return x.code() != y.code(); }
} /*namespace mm*/
} /*namespace xo*/

View file

@ -25,6 +25,7 @@ namespace xo {
<< ": attempt to call uninitialized"
<< " IAllocator_Any method"
<< std::endl;
std::terminate();
}