From ad1f28bc1c1c5426fb8ab246f5d43ad57002b4d5 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 16 Jul 2011 22:59:14 +0100 Subject: [PATCH] Remove some useless include Spotted by Rein Halbersma. No functional change. Signed-off-by: Marco Costalba --- src/move.cpp | 2 +- src/movegen.cpp | 1 + src/movegen.h | 1 - src/position.cpp | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) 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; -- 2.39.2