From: Marco Costalba Date: Sat, 16 Jul 2011 21:59:14 +0000 (+0100) Subject: Remove some useless include X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=ad1f28bc1c1c5426fb8ab246f5d43ad57002b4d5;hp=67686b7684e8cb2f195a648b1042e671e80bc9be Remove some useless include Spotted by Rein Halbersma. No functional change. Signed-off-by: Marco Costalba --- diff --git a/src/move.cpp b/src/move.cpp index c45e1c2c..8cc0c004 100644 --- a/src/move.cpp +++ b/src/move.cpp @@ -25,7 +25,7 @@ #include "move.h" #include "movegen.h" -#include "search.h" +#include "position.h" using std::string; diff --git a/src/movegen.cpp b/src/movegen.cpp index 36ff3d81..90d0135a 100644 --- a/src/movegen.cpp +++ b/src/movegen.cpp @@ -21,6 +21,7 @@ #include "bitcount.h" #include "movegen.h" +#include "position.h" // Simple macro to wrap a very common while loop, no facny, no flexibility, // hardcoded list name 'mlist' and from square 'from'. diff --git a/src/movegen.h b/src/movegen.h index 0c781a6b..a80db334 100644 --- a/src/movegen.h +++ b/src/movegen.h @@ -21,7 +21,6 @@ #define MOVEGEN_H_INCLUDED #include "move.h" -#include "position.h" enum MoveType { MV_CAPTURE, diff --git a/src/position.cpp b/src/position.cpp index f4f0db77..18f4978d 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -30,7 +30,6 @@ #include "rkiss.h" #include "thread.h" #include "tt.h" -#include "ucioption.h" using std::string; using std::cout;