From 4428e477ae27e8634715610649b68919810dd684 Mon Sep 17 00:00:00 2001 From: zedarider Date: Sun, 6 Nov 2016 19:54:43 +0000 Subject: fixed makefile --- include/chess_ai.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); } -- cgit