X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsearch.h;h=671e1277d7346de0b7578eb9e8d594088eb5f059;hb=367304e930e967d90523025b34f25c2a9b60de8f;hp=1274b9681958fce4d2cbf53b6695c33505c1ab67;hpb=9afa1d73306cb98e95acec5daf4efd65e592ceff;p=stockfish diff --git a/src/search.h b/src/search.h index 1274b968..671e1277 100644 --- a/src/search.h +++ b/src/search.h @@ -32,7 +32,7 @@ class Position; namespace Search { /// Threshold used for countermoves based pruning -const int CounterMovePruneThreshold = 0; +constexpr int CounterMovePruneThreshold = 0; /// Stack struct keeps track of the information we need to remember from nodes @@ -90,10 +90,9 @@ struct LimitsType { } std::vector searchmoves; - int time[COLOR_NB], inc[COLOR_NB], npmsec, movestogo, depth, - movetime, mate, perft, infinite; + TimePoint time[COLOR_NB], inc[COLOR_NB], npmsec, movetime, startTime; + int movestogo, depth, mate, perft, infinite; int64_t nodes; - TimePoint startTime; }; extern LimitsType Limits;