Nicolas Winkler 7 tahun lalu
induk
melakukan
bd894e07e1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/MoveGeneration.h

+ 1 - 1
src/MoveGeneration.h

@@ -144,7 +144,7 @@ class chessy::PromotionGenerator
 
     struct MoveIterator
     {
-        friend class chessy::PromotionGenerator;
+        friend class chessy::PromotionGenerator<side>;
         const ChessGame& chessGame;
         PositionSet::PositionSetIterator pawns;
         PieceType promotionType;