From 1db141c6c0d87cde4270d50b661162273ef6a9f5 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 26 Jul 2026 13:54:49 +0200 Subject: adding move chenging to repl --- src/moves.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/moves.hpp') 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 { -- cgit v1.2.3