diff options
author | zedarider <ymherklotz@gmail.com> | 2016-11-06 19:54:43 +0000 |
---|---|---|
committer | zedarider <ymherklotz@gmail.com> | 2016-11-06 19:54:43 +0000 |
commit | 4428e477ae27e8634715610649b68919810dd684 (patch) | |
tree | d917dfa4a0be72daf697c695ab4ea02b2ce82505 /include | |
parent | 4716585d5acb45b00960eebb4f8ae4580e580da0 (diff) | |
download | ChessAI-4428e477ae27e8634715610649b68919810dd684.tar.gz ChessAI-4428e477ae27e8634715610649b68919810dd684.zip |
fixed makefile
Diffstat (limited to 'include')
-rw-r--r-- | include/chess_ai.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/chess_ai.hpp b/include/chess_ai.hpp index c682bd2..c1496e3 100644 --- a/include/chess_ai.hpp +++ b/include/chess_ai.hpp @@ -141,7 +141,7 @@ namespace chess_ai { // overloading operators // so that we can make two copies of a point - chess_piece& operator=(const chess_piece& piece) { + chess_piece& operator==(const chess_piece& piece) { if(this != &piece) { this->set(piece.type, piece.colour, piece.x, piece.y); } |