added comparison operator

This commit is contained in:
muellerr committed 2020-05-13 11:24:17 +02:00
1 parent 6dc05e4951
commit 26763b7cee
1 file changed
+4
+4
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;
}
};
/**