Skip to content

Commit

Permalink
Remove unused lambda capture.
Browse files Browse the repository at this point in the history
Pull request leela-zero#2231.
  • Loading branch information
TFiFiE authored and gcp committed Feb 19, 2019
1 parent 6aaa5bb commit 2c394ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenCLScheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ void OpenCLScheduler<net_t>::batch_worker(const size_t gnum) {
// while that single eval was being processed, it means that we made
// the wrong decision. Wait 2ms longer next time.

auto pickup_task = [this, gnum] () {
auto pickup_task = [this] () {
std::list<std::shared_ptr<ForwardQueueEntry>> inputs;
size_t count = 0;

Expand Down

0 comments on commit 2c394ab

Please sign in to comment.