X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpawns.h;h=4bd3e214d1ba98c9e3f8c6d80c190e0c8c24b5b1;hp=557580e11ca3f41ee674ab8a58ee1362249fe39f;hb=a530fc2b600da4e9247a0e0242dead246d824c68;hpb=4626ec2890b140829e9971658ca948005b945fd4 diff --git a/src/pawns.h b/src/pawns.h index 557580e1..4bd3e214 100644 --- a/src/pawns.h +++ b/src/pawns.h @@ -99,7 +99,7 @@ private: //// inline Score PawnInfo::value() const { - return Score(mgValue, egValue); + return make_score(mgValue, egValue); } inline Bitboard PawnInfo::passed_pawns() const {