X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=5c4c4e362368b121e0fb32d44e36fb0e1b1bc559;hp=07e1341ec354c77c2c973ef318a947012baa5064;hb=3e2591d83c285597a7400c79b61ab9dc38875163;hpb=2e86d1febc163e076320a6a21060fc5a1c7c0dff diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 07e1341e..5c4c4e36 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -26,7 +26,6 @@ #include "position.h" #include "search.h" #include "thread.h" -#include "tt.h" #include "uci.h" using namespace std; @@ -143,7 +142,6 @@ void benchmark(const Position& current, istream& is) { } uint64_t nodes = 0; - Search::StateStackPtr st; TimePoint elapsed = now(); for (size_t i = 0; i < fens.size(); ++i) @@ -157,6 +155,7 @@ void benchmark(const Position& current, istream& is) { else { + Search::StateStackPtr st; Threads.start_thinking(pos, limits, st); Threads.main()->join(); nodes += Search::RootPos.nodes_searched();