Remove unused lambda capture (#11600)

Fixes #11588
This commit is contained in:
Anand Thakker
2018-04-05 11:14:55 -04:00
committed by GitHub
parent 006d2ab1d5
commit 05d24448bd

View File

@@ -6,7 +6,7 @@
namespace node_mbgl {
NodeThreadPool::NodeThreadPool()
: queue(new util::AsyncQueue<std::weak_ptr<mbgl::Mailbox>>(uv_default_loop(), [this](std::weak_ptr<mbgl::Mailbox> mailbox) {
: queue(new util::AsyncQueue<std::weak_ptr<mbgl::Mailbox>>(uv_default_loop(), [](std::weak_ptr<mbgl::Mailbox> mailbox) {
Worker* worker = new Worker(mailbox);
Nan::AsyncQueueWorker(worker);
})) {