+++ /dev/null
-From 9a8d72365945c5b24dca733e5dca1b3c29737fa3 Mon Sep 17 00:00:00 2001
-From: Cheoleun Moon <chleun.moon@samsung.com>
-Date: Thu, 9 Apr 2020 22:12:49 +0900
-Subject: [PATCH] Explicitly capture variables
-
----
- src/NanDataPathManager.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/NanDataPathManager.cpp b/src/NanDataPathManager.cpp
-index aec89ab..07cbbbe 100644
---- a/src/NanDataPathManager.cpp
-+++ b/src/NanDataPathManager.cpp
-@@ -208,7 +208,7 @@ void NanDataPathManager::startOpenDataPathTimer(NanDataPathInformation *info,
- const std::string &clientPath)
- {
- NAN_LOGI("Start Timer for OpenDataPath. timeout(%d) info(%p)", NAN_DATA_PATH_TIMEOUT, info);
-- NanTimer *timer = new NanTimer(NAN_DATA_PATH_TIMEOUT, [=]() {
-+ NanTimer *timer = new NanTimer(NAN_DATA_PATH_TIMEOUT, [this, info, clientPath]() {
- openDataPathTimeoutHandler(info, clientPath);
- });
- info->setTimer(timer);
---
-2.17.1
-