mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +00:00
Make casting styles consistent
Make casting styles consistent with the rest of the code. closes https://github.com/official-stockfish/Stockfish/pull/4793 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
952740b36c
commit
fce4cc1829
+1
-1
@@ -246,7 +246,7 @@ template<GenType Type>
|
||||
ExtMove* generate(const Position& pos, ExtMove* moveList) {
|
||||
|
||||
static_assert(Type != LEGAL, "Unsupported type in generate()");
|
||||
assert((Type == EVASIONS) == (bool)pos.checkers());
|
||||
assert((Type == EVASIONS) == bool(pos.checkers()));
|
||||
|
||||
Color us = pos.side_to_move();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user