summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangwan Kwon <sangwan.kwon@samsung.com>2020-01-07 12:32:06 +0900
committerSangwan Kwon <sangwan.kwon@samsung.com>2020-01-07 12:37:58 +0900
commit0f247fc7da980efad70dea1c0ace6cecd1aeb217 (patch)
tree3285636894db19187c84d83ea45eea4461660e2b
parent9aac8fa475ea8d75d3db6fca403494d771cfc88a (diff)
downloadcsr-framework-0f247fc7da980efad70dea1c0ace6cecd1aeb217.tar.gz
csr-framework-0f247fc7da980efad70dea1c0ace6cecd1aeb217.tar.bz2
csr-framework-0f247fc7da980efad70dea1c0ace6cecd1aeb217.zip
Do not capture reference on non-local lambdasubmit/tizen/20200107.053941accepted/tizen/unified/20200108.131639
Change-Id: I033029a0b0c7bbaaaa02d1d86348576af221e581 Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
-rw-r--r--test/thread-pool/test-thread-pool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/thread-pool/test-thread-pool.cpp b/test/thread-pool/test-thread-pool.cpp
index 48f6276..6bbe742 100644
--- a/test/thread-pool/test-thread-pool.cpp
+++ b/test/thread-pool/test-thread-pool.cpp
@@ -36,7 +36,7 @@ using namespace std::chrono;
namespace {
-auto exceptionGuard = [&](std::function<void()> && func)
+auto exceptionGuard = [](std::function<void()> && func)
{
try {
func();