From 0270636ee24d65372a52948aa4b933f61caf883d Mon Sep 17 00:00:00 2001 From: Tait Hoyem <44244401+TTWNO@users.noreply.github.com> Date: Sat, 27 Apr 2019 23:41:28 +0000 Subject: [PATCH] Remove cout statments --- src/functions.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/functions.cpp b/src/functions.cpp index 776b3f2..e9b7a24 100644 --- a/src/functions.cpp +++ b/src/functions.cpp @@ -128,7 +128,6 @@ void filter_checked_moves(PieceType pt, std::array *board, std:: PieceType my_king = is_white(pt)?PieceType::W_KING:PieceType::B_KING; int my_king_pos = get_pos_of(my_king, board); int attackers = 0; - std::cout << "PC: " << FANCY_CHESS_CHARS[pt] << "\nPos: " << my_king_pos << std::endl; for (auto p_pn= pns->begin(); p_pn!=pns->end();){ if (get_castle_flag(*p_pn) == 1){ // If moved left @@ -159,13 +158,10 @@ void filter_checked_moves(PieceType pt, std::array *board, std:: // This is for when the king is the same piece that is moving. // If this is the case, reset to king position to the new position given by the get_to_sq() of the move. if (pt == my_king){ - std::cout << "King move!" << std::endl; my_king_pos = get_to_sq(*p_pn); } - std::cout << "Is " << POSITION_STRING[my_king_pos] << " in check?" <erase(p_pn); } else { ++p_pn;