summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnand Thakker <anandthakker@users.noreply.github.com>2018-04-05 11:14:55 -0400
committerGitHub <noreply@github.com>2018-04-05 11:14:55 -0400
commit05d24448bdea29e302f788f050829459adba8e83 (patch)
treec8a6bdcc791404a0ed1c96f29a69d4890b7046ca
parent006d2ab1d5f65242d9e53e9d804c01ac2d450537 (diff)
downloadqtlocation-mapboxgl-05d24448bdea29e302f788f050829459adba8e83.tar.gz
Remove unused lambda capture (#11600)
Fixes #11588
-rw-r--r--platform/node/src/node_thread_pool.cpp2
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);
})) {