aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzedarider <ymherklotz@gmail.com>2017-01-17 15:50:30 +0000
committerzedarider <ymherklotz@gmail.com>2017-01-17 15:50:30 +0000
commita42ecf7b9b42d6f0d8e0e4ea6c35a09e872f5c8d (patch)
tree9db58a32172d869c2d7ac4e1716de30d19e0fe1b
parent9a457557caed9ef614456a9c8139c89084381ed3 (diff)
downloadChessAI-a42ecf7b9b42d6f0d8e0e4ea6c35a09e872f5c8d.tar.gz
ChessAI-a42ecf7b9b42d6f0d8e0e4ea6c35a09e872f5c8d.zip
added forward declaration for boardfix1_readability
-rw-r--r--include/chess_board.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/chess_board.hpp b/include/chess_board.hpp
index ac96323..e5e4d7b 100644
--- a/include/chess_board.hpp
+++ b/include/chess_board.hpp
@@ -20,6 +20,8 @@
#include <memory>
namespace ymhChessAI {
+class ChessBoard;
+
typedef std::vector<std::unique_ptr<ChessPiece> >::iterator boardIterator;
typedef std::vector<std::unique_ptr<ChessPiece> > boardVector;
typedef std::unique_ptr<ChessPiece> chessPiecePtr;