X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftypes.h;fp=src%2Ftypes.h;h=5197e9fbbe3b0d50cd57f4a89d52009323b8bc0e;hp=cc4008b3e72702fd9220a3dfd5e3fd34d7dee562;hb=90c0385724a0d9b6c0737bc2711ad77e315d17ac;hpb=7e89a71624e07c735c2230dbbf2c7dbae864916e diff --git a/src/types.h b/src/types.h index cc4008b3..5197e9fb 100644 --- a/src/types.h +++ b/src/types.h @@ -341,7 +341,7 @@ inline Score operator*(Score s, int i) { return result; } -/// Multiplication of a Score by an boolean +/// Multiplication of a Score by a boolean inline Score operator*(Score s, bool b) { return Score(int(s) * int(b)); }