X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftypes.h;h=009a933afcce059e17b55dcca5da86959e65821e;hp=bcfb70b49a3b4e8840b2e48ed749c5e91e4652ea;hb=5d57bb467a4d703f480c87f58687705e2f56e338;hpb=822695d4d3a9336dc54bfabd0996e75865358ae2 diff --git a/src/types.h b/src/types.h index bcfb70b4..009a933a 100644 --- a/src/types.h +++ b/src/types.h @@ -2,7 +2,7 @@ Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad - Copyright (C) 2015-2017 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad + Copyright (C) 2015-2018 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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) {