mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 16:46:30 +08:00
Introduce Search namespace
Move global search-related variables under "Search" namespace. As a side effect we can move uci_async_command() and wait_for_stop_or_ponderhit() away from search.cpp No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -84,7 +84,7 @@ void TimeManager::pv_instability(int curChanges, int prevChanges) {
|
||||
}
|
||||
|
||||
|
||||
void TimeManager::init(const SearchLimits& limits, int currentPly)
|
||||
void TimeManager::init(const Search::LimitsType& limits, int currentPly)
|
||||
{
|
||||
/* We support four different kind of time controls:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user