]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Move EndgameFunctions to endgame.cpp
[stockfish] / src / position.h
index a19911ab6035a5efb5013471e4d903b7d66e75a7..c0c7e92997186b0055f3ae04fdf8ed7455825604 100644 (file)
@@ -104,9 +104,6 @@ struct StateInfo {
 
 class Position {
 
-  friend class MaterialInfo;
-  friend class EndgameFunctions;
-
   Position(); // No default or copy c'tor allowed
   Position(const Position& pos);
 
@@ -231,9 +228,6 @@ public:
   bool is_mate() const;
   bool is_draw() const;
 
-  // Check if side to move could be mated in one
-  bool has_mate_threat();
-
   // Number of plies from starting position
   int startpos_ply_counter() const;