From 4ba63d541b61502abcfdb5f21319d6fa21f92feb Mon Sep 17 00:00:00 2001 From: Anand Thakker Date: Thu, 5 Apr 2018 10:57:52 -0400 Subject: Remove unused lambda capture (#11601) Fixes #11588 --- platform/node/src/node_thread_pool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>(uv_default_loop(), [this](std::weak_ptr mailbox) { + : queue(new util::AsyncQueue>(uv_default_loop(), [](std::weak_ptr mailbox) { Worker* worker = new Worker(mailbox); Nan::AsyncQueueWorker(worker); })) { -- cgit v1.2.1