X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmain.cpp;h=cbb260f26d9f0289785e712a22cb075d158480e6;hp=dd0b7ff8a88b0b2c4250105ea10bf93dd3dcb9f4;hb=69ac45d903a809bb80cabf87181958e1311c3fcc;hpb=41641e3b1eea0038ab6984766d2b3bca869be7fa diff --git a/src/main.cpp b/src/main.cpp index dd0b7ff8..cbb260f2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,7 +18,6 @@ */ #include -#include #include "bitboard.h" #include "evaluate.h" @@ -42,12 +41,7 @@ int main(int argc, char* argv[]) { Threads.init(); 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(); }