Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jcague committed Sep 20, 2018
1 parent 10f8a9c commit fd71b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erizo/src/erizo/thread/Worker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ void SimulatedWorker::close() {

std::shared_ptr<ScheduledTaskReference> SimulatedWorker::scheduleFromNow(Task f, duration delta) {
auto id = std::make_shared<ScheduledTaskReference>();
scheduled_tasks_[clock_->now() + delta] = [this, f, id] {
scheduled_tasks_[clock_->now() + delta] = [f, id] {
if (id->isCancelled()) {
return;
}
Expand Down

0 comments on commit fd71b79

Please sign in to comment.