Skip to content

Commit

Permalink
Reinstate std::move that was mistakenly removed in google-deepmind@5c…
Browse files Browse the repository at this point in the history
…7c38d

PiperOrigin-RevId: 299857785
Change-Id: Ia763b920f19d32dabdae7312038f29fae3032f10
  • Loading branch information
DeepMind Technologies Ltd authored and open_spiel@google.com committed Mar 13, 2020
1 parent 987bea6 commit 0e1e439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_spiel/examples/gtp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ std::unique_ptr<open_spiel::Bot> MakeBot(
const open_spiel::Game& game,
std::shared_ptr<open_spiel::algorithms::Evaluator> evaluator) {
return std::make_unique<open_spiel::algorithms::MCTSBot>(
game, evaluator, /*uct_c=*/2, /*max_simulations=*/1000,
game, std::move(evaluator), /*uct_c=*/2, /*max_simulations=*/1000,
/*max_memory_mb=*/0, /*solve=*/true, /*seed=*/0, /*verbose=*/false);
}

Expand Down

0 comments on commit 0e1e439

Please sign in to comment.