diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-26 13:54:49 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-26 13:54:49 +0200 |
| commit | 1db141c6c0d87cde4270d50b661162273ef6a9f5 (patch) | |
| tree | b1ae71321b6a9a9800b62e082029ff5ffa490bc8 /src/moves.hpp | |
| parent | 3b231aa281e16319f8bed37da49e53dd6b950650 (diff) | |
adding move chenging to repl
Diffstat (limited to 'src/moves.hpp')
| -rw-r--r-- | src/moves.hpp | 4 |
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 { |
