aboutsummaryrefslogtreecommitdiff
path: root/src/moves.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/moves.hpp')
-rw-r--r--src/moves.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/moves.hpp b/src/moves.hpp
index 7e95910..5f893ca 100644
--- a/src/moves.hpp
+++ b/src/moves.hpp
@@ -8,11 +8,15 @@
struct Position {
uint8_t rank;
uint8_t file;
+
+ bool operator==(const Position &) const = default;
};
struct Move {
Position From;
Position To;
+
+ bool operator==(const Move &) const = default;
};
enum MoveResult {