diff options
author | Sangwan Kwon <sangwan.kwon@samsung.com> | 2020-01-07 12:32:06 +0900 |
---|---|---|
committer | Sangwan Kwon <sangwan.kwon@samsung.com> | 2020-01-07 12:37:58 +0900 |
commit | 0f247fc7da980efad70dea1c0ace6cecd1aeb217 (patch) | |
tree | 3285636894db19187c84d83ea45eea4461660e2b | |
parent | 9aac8fa475ea8d75d3db6fca403494d771cfc88a (diff) | |
download | csr-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.cpp | 2 |
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(); |