small cleanups

closes https://github.com/official-stockfish/Stockfish/pull/2695

No functional change
This commit is contained in:
Joost VandeVondele
2020-06-21 15:21:46 +02:00
parent bc3c215490
commit 6f15e7fab2
14 changed files with 50 additions and 61 deletions

View File

@@ -57,7 +57,7 @@ namespace {
/// MovePicker constructor for the main search
MovePicker::MovePicker(const Position& p, Move ttm, Depth d, const ButterflyHistory* mh, const LowPlyHistory* lp,
const CapturePieceToHistory* cph, const PieceToHistory** ch, Move cm, Move* killers, int pl)
const CapturePieceToHistory* cph, const PieceToHistory** ch, Move cm, const Move* killers, int pl)
: pos(p), mainHistory(mh), lowPlyHistory(lp), captureHistory(cph), continuationHistory(ch),
ttMove(ttm), refutations{{killers[0], 0}, {killers[1], 0}, {cm, 0}}, depth(d), ply(pl) {