From 0574a11b3238de563d36b15b8eef6375255e7ba1 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Sun, 2 Feb 2025 21:37:43 +0100 Subject: [PATCH] fixed minor bug --- cpp/src/pieces/queen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/pieces/queen.cpp b/cpp/src/pieces/queen.cpp index 3046ac3..adc03bc 100644 --- a/cpp/src/pieces/queen.cpp +++ b/cpp/src/pieces/queen.cpp @@ -5,7 +5,7 @@ #include -std::vector rook_moves(const Board& b, const Coords xy) { +std::vector queen_moves(const Board& b, const Coords xy) { std::vector ret; auto e = look_direction(b, xy, 1, 0); ret.insert(ret.end(), e.begin(), e.end());