X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmain.cpp;h=d851bda055c2e63468165f0bfb3fa91a05d80c6e;hp=299b4135c8e351fa8be5895cb64d2173ec655484;hb=97d2122c53f75a74d4c8ab35e36378e3854773d9;hpb=0e82bf6495ddefa1bfee158d242a2d58432cee5d diff --git a/src/main.cpp b/src/main.cpp index 299b4135..d851bda0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -54,8 +54,7 @@ public: bool invert = (pos.side_to_move() == BLACK); Search::StateStackPtr setup_states = Search::StateStackPtr(new std::stack); - HashProbeLine *root_line = response->add_line(); - ProbeMove(&pos, setup_states.get(), invert, root_line); + ProbeMove(&pos, setup_states.get(), invert, response->mutable_root()); MoveList moves(pos); for (const ExtMove* em = moves.begin(); em != moves.end(); ++em) {