X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpawns.h;h=fec0395f43dbc39f4656d94c462aee2bf5a8d888;hp=cc3e5e6689163ebd41132ca4130abded8803ec17;hb=22b9307aba0f78aa92abcf85e807af8b64011c7a;hpb=2f1935078da225c90f7887ed8c345cc7baebcfcc diff --git a/src/pawns.h b/src/pawns.h index cc3e5e66..fec0395f 100644 --- a/src/pawns.h +++ b/src/pawns.h @@ -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 - 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); };