xo-alloc2: missed operator defs
This commit is contained in:
parent
8e8b6041d6
commit
04bdc763bf
2 changed files with 4 additions and 0 deletions
|
|
@ -45,6 +45,9 @@ namespace xo {
|
||||||
enum code code_;
|
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 mm*/
|
||||||
} /*namespace xo*/
|
} /*namespace xo*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ namespace xo {
|
||||||
<< ": attempt to call uninitialized"
|
<< ": attempt to call uninitialized"
|
||||||
<< " IAllocator_Any method"
|
<< " IAllocator_Any method"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
||||||
std::terminate();
|
std::terminate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue