diff options
author | Anand Thakker <anandthakker@users.noreply.github.com> | 2018-04-05 10:57:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 10:57:52 -0400 |
commit | 4ba63d541b61502abcfdb5f21319d6fa21f92feb (patch) | |
tree | fc4d94e139a3f2ef25dd33817a5044a98d285542 | |
parent | dc874f2d5f246b14145332b05656494116565253 (diff) | |
download | qtlocation-mapboxgl-4ba63d541b61502abcfdb5f21319d6fa21f92feb.tar.gz |
Remove unused lambda capture (#11601)
Fixes #11588
-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); })) { |