X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmain.cpp;h=cbb260f26d9f0289785e712a22cb075d158480e6;hp=98f6f3875fd613ea10b0d769444fc2291c19d6e1;hb=69ac45d903a809bb80cabf87181958e1311c3fcc;hpb=c9dcda6ac488c0058ebd567e1f52e30b8cd0db20 diff --git a/src/main.cpp b/src/main.cpp index 98f6f387..cbb260f2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,7 +18,6 @@ */ #include -#include #include "bitboard.h" #include "evaluate.h" @@ -40,14 +39,9 @@ int main(int argc, char* argv[]) { Pawns::init(); Eval::init(); Threads.init(); - TT.set_size(Options["Hash"]); + TT.resize(Options["Hash"]); - std::string args; - - for (int i = 1; i < argc; ++i) - args += std::string(argv[i]) + " "; - - UCI::loop(args); + UCI::loop(argc, argv); Threads.exit(); }