]> git.sesse.net Git - stockfish/blobdiff - src/benchmark.cpp
Rework Thread hierarchy
[stockfish] / src / benchmark.cpp
index 25dab6cc7d7bd8b026b57633e6b31364b76bbb9b..f22ea6dada5d2ca7246039d45454c9e5e7e01a63 100644 (file)
@@ -118,7 +118,7 @@ void benchmark(const Position& current, istream& is) {
 
   for (size_t i = 0; i < fens.size(); i++)
   {
-      Position pos(fens[i], Options["UCI_Chess960"], Threads.main_thread());
+      Position pos(fens[i], Options["UCI_Chess960"], Threads.main());
 
       cerr << "\nPosition: " << i + 1 << '/' << fens.size() << endl;