Remove unused capture

Reviewers: dgleich

Reviewed By: dgleich

Differential Revision: https://phabricator.memgraph.io/D939
This commit is contained in:
Mislav Bradac 2017-10-27 13:33:37 +02:00
parent e6d3edf9a9
commit 8d1e463e6b

View File

@ -91,7 +91,7 @@ class Network {
client_run_ = true;
for (int i = 0; i < worker_count; ++i) {
pool_.push_back(std::thread([worker_count, this]() {
pool_.push_back(std::thread([this]() {
while (this->client_run_) {
this->mutex_.lock();
if (!this->queue_.empty()) {