added comparison operator

This commit is contained in:
Robin Müller 2020-05-13 11:24:17 +02:00
parent 6dc05e4951
commit 26763b7cee

View File

@ -48,6 +48,10 @@ union store_address_t {
* Alternative access to the raw value.
*/
uint32_t raw;
bool operator==(const store_address_t& other) const {
return raw == other.raw;
}
};
/**