]> git.sesse.net Git - stockfish/commitdiff
Use Them instead of ~Us
authorMarco Costalba <mcostalba@gmail.com>
Sat, 11 May 2013 09:32:34 +0000 (11:32 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 11 May 2013 09:49:44 +0000 (11:49 +0200)
Unortunatly we have no guarantee that the call to
operator~(Color c) is resolved at compile time.

Perhaps the solution would be to use C++11 const_expr,
but for now simply use the good old-style ternary operator
that works as expected.

No functional change.


No differences found