X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fcolor.h;h=c946a548e2ebedded0618845cf3a81bf0f0fac8a;hp=72a8bbc9af443ed756bd967c27c175f71b5735e1;hb=13bd0cff0d1f7977ee68cf995d2b5f84159974ba;hpb=14f059072af34bc21b71ae7fc550f03b4a075b3b diff --git a/src/color.h b/src/color.h index 72a8bbc9..c946a548 100644 --- a/src/color.h +++ b/src/color.h @@ -42,8 +42,6 @@ enum SquareColor { //// Inline functions //// -inline void operator++ (Color &c, int) { c = Color(int(c) + 1); } - inline Color opposite_color(Color c) { return Color(int(c) ^ 1); }