1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-26 19:17:52 +00:00

Continue addressing divergences.

This commit is contained in:
Thomas Harte
2025-12-02 19:54:09 -05:00
parent 16e79551ae
commit 9582af95f3
2 changed files with 25 additions and 8 deletions
+3
View File
@@ -168,6 +168,9 @@ struct Flags {
auto operator <=> (const Flags &rhs) const {
return static_cast<uint8_t>(*this) <=> static_cast<uint8_t>(rhs);
}
auto operator ==(const Flags &rhs) const {
return static_cast<uint8_t>(*this) == static_cast<uint8_t>(rhs);
}
private:
uint8_t overflow = 0; /// Contains Flag::Overflow.