]> git.sesse.net Git - stockfish/blobdiff - src/color.h
Use templetized operations for Piece
[stockfish] / src / color.h
index 72a8bbc9af443ed756bd967c27c175f71b5735e1..c946a548e2ebedded0618845cf3a81bf0f0fac8a 100644 (file)
@@ -42,8 +42,6 @@ enum SquareColor {
 //// Inline functions
 ////
 
 //// Inline functions
 ////
 
-inline void operator++ (Color &c, int) { c = Color(int(c) + 1); }
-
 inline Color opposite_color(Color c) {
   return Color(int(c) ^ 1);
 }
 inline Color opposite_color(Color c) {
   return Color(int(c) ^ 1);
 }