]> git.sesse.net Git - stockfish/blobdiff - src/pawns.h
Simplify id_loop() signature
[stockfish] / src / pawns.h
index cc3e5e6689163ebd41132ca4130abded8803ec17..fec0395f43dbc39f4656d94c462aee2bf5a8d888 100644 (file)
@@ -32,6 +32,7 @@ const int PawnTableSize = 16384;
 /// to add further information in the future. A lookup to the pawn hash table
 /// (performed by calling the get_pawn_info method in a PawnInfoTable object)
 /// returns a pointer to a PawnInfo object.
+
 class PawnInfo {
 
   friend class PawnInfoTable;
@@ -70,7 +71,7 @@ public:
 
 private:
   template<Color Us>
-  Score evaluate_pawns(const Position& pos, Bitboard ourPawns, Bitboard theirPawns, PawnInfo* pi) const;
+  static Score evaluate_pawns(const Position& pos, Bitboard ourPawns, Bitboard theirPawns, PawnInfo* pi);
 };