diff options
author | Anand Thakker <anandthakker@users.noreply.github.com> | 2018-04-05 10:57:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 10:57:45 -0400 |
commit | c50a74d1c28eac946f7a2d9ab6ad2a956ffdde97 (patch) | |
tree | 9a3f8384461146b51a13e453f96a8913a85e55d6 /platform/node | |
parent | d5a3e5be7aaf57ef5c348b1ce04d5f8fd46b0fbd (diff) | |
download | qtlocation-mapboxgl-c50a74d1c28eac946f7a2d9ab6ad2a956ffdde97.tar.gz |
Remove unused lambda capture (#11602)
Fixes #11588
Diffstat (limited to 'platform/node')
-rw-r--r-- | platform/node/src/node_thread_pool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/node/src/node_thread_pool.cpp b/platform/node/src/node_thread_pool.cpp index fd6df575fc..1f37565e8a 100644 --- a/platform/node/src/node_thread_pool.cpp +++ b/platform/node/src/node_thread_pool.cpp @@ -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); })) { |