Fix indentation in movepicker.cpp

Fix indentation in movepicker.cpp and evaluate.cpp. Also move
the PickType enum out of global space.

No functional change
This commit is contained in:
Marco Costalba
2018-03-27 16:44:47 +02:00
committed by Stéphane Nicolet
parent a03e98dcd3
commit 280022baf7
3 changed files with 38 additions and 30 deletions
+4 -4
View File
@@ -109,10 +109,10 @@ typedef Stats<PieceToHistory, W32, NOT_USED, PIECE_NB, SQUARE_NB> ContinuationHi
/// when MOVE_NONE is returned. In order to improve the efficiency of the alpha
/// beta algorithm, MovePicker attempts to return the moves which are most likely
/// to get a cut-off first.
enum PickType { NEXT, BEST_SCORE };
class MovePicker {
enum PickType { Next, Best };
public:
MovePicker(const MovePicker&) = delete;
MovePicker& operator=(const MovePicker&) = delete;
@@ -122,7 +122,7 @@ public:
Move next_move(bool skipQuiets = false);
private:
template<PickType T, typename Pred> Move select_move(Pred);
template<PickType T, typename Pred> Move select(Pred);
template<GenType> void score();
ExtMove* begin() { return cur; }
ExtMove* end() { return endMoves; }