summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Kong2017-05-05 16:09:10 -0500
committerYi Kong2017-05-05 16:09:10 -0500
commitae797ec305f44c6ef6b2db9861f27e5fed5de6a5 (patch)
tree78f0b73be7bc30b64894ba091f375583134c5b1a /libmemunreachable
parentfd8fab19df622e37007946a504c33549a4710af1 (diff)
downloadplatform-system-core-ae797ec305f44c6ef6b2db9861f27e5fed5de6a5.tar.gz
platform-system-core-ae797ec305f44c6ef6b2db9861f27e5fed5de6a5.tar.xz
platform-system-core-ae797ec305f44c6ef6b2db9861f27e5fed5de6a5.zip
Remove unused lambda captures
Test: build Bug: 37752547 Change-Id: Id318f412ad81b6e7de3ad644cba4405bb04f2729
Diffstat (limited to 'libmemunreachable')
-rw-r--r--libmemunreachable/tests/ThreadCapture_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmemunreachable/tests/ThreadCapture_test.cpp b/libmemunreachable/tests/ThreadCapture_test.cpp
index 41ed84ee0..44aabd755 100644
--- a/libmemunreachable/tests/ThreadCapture_test.cpp
+++ b/libmemunreachable/tests/ThreadCapture_test.cpp
@@ -55,7 +55,7 @@ class ThreadListTest : public ::testing::TestWithParam<int> {
55 threads_.reserve(threads); 55 threads_.reserve(threads);
56 tids_.reserve(threads); 56 tids_.reserve(threads);
57 for (unsigned int i = 0; i < threads; i++) { 57 for (unsigned int i = 0; i < threads; i++) {
58 threads_.emplace_back([&, i, threads, this]() { 58 threads_.emplace_back([&, threads, this]() {
59 { 59 {
60 std::lock_guard<std::mutex> lk(m_); 60 std::lock_guard<std::mutex> lk(m_);
61 tids_.push_back(gettid()); 61 tids_.push_back(gettid());