summaryrefslogtreecommitdiffstats
path: root/src/Block.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Block.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Block.hpp b/src/Block.hpp
index 6bd4e93..78c9cca 100644
--- a/src/Block.hpp
+++ b/src/Block.hpp
@@ -16,4 +16,6 @@ struct Block {
struct BlockId {
unsigned short id : 13;
unsigned char state : 4;
-}; \ No newline at end of file
+};
+
+bool operator==(const BlockId& lhs, const BlockId &rhs); \ No newline at end of file