mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Use a std::vector to store searchMoves
A std::set (that is a rb_tree) seems really overkill to store at most a handful of moves and nothing in the common case. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -46,7 +46,7 @@ int main(int argc, char* argv[]) {
|
||||
std::string args;
|
||||
|
||||
for (int i = 1; i < argc; i++)
|
||||
args += std::string(" ") + argv[i];
|
||||
args += std::string(argv[i]) + " ";
|
||||
|
||||
uci_loop(args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user