]> git.sesse.net Git - stockfish/blobdiff - src/movepick.h
Fix indentation in movepicker.cpp
[stockfish] / src / movepick.h
index 60bf0b947a6639af89eb66210d5dcffbe9827826..fc409a02464b2b4cac088dde577472152c3e8b19 100644 (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.
+class MovePicker {
 
-enum PickType { NEXT, BEST_SCORE };
+  enum PickType { Next, Best };
 
-class MovePicker {
 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; }