X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftypes.h;h=3cb93a649a6e5f3c0d2e4062675675b8684664ba;hp=bcfb70b49a3b4e8840b2e48ed749c5e91e4652ea;hb=54f6ce70fd68b38f053cd7d338bed1a74d92bb8b;hpb=822695d4d3a9336dc54bfabd0996e75865358ae2 diff --git a/src/types.h b/src/types.h index bcfb70b4..3cb93a64 100644 --- a/src/types.h +++ b/src/types.h @@ -333,7 +333,7 @@ inline Square& operator-=(Square &s, Direction d) { return s = s - d; } /// Only declared but not defined. We don't want to multiply two scores due to /// a very high risk of overflow. So user should explicitly convert to integer. -Score operator*(Score s1, Score s2) = delete; +Score operator*(Score, Score) = delete; /// Division of a Score must be handled separately for each term inline Score operator/(Score s, int i) {