commit | ae797ec305f44c6ef6b2db9861f27e5fed5de6a5 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Fri May 05 14:09:10 2017 -0700 |
committer | Yi Kong <yikong@google.com> | Fri May 05 14:09:10 2017 -0700 |
tree | 78f0b73be7bc30b64894ba091f375583134c5b1a | |
parent | fd8fab19df622e37007946a504c33549a4710af1 [diff] |
Remove unused lambda captures Test: build Bug: 37752547 Change-Id: Id318f412ad81b6e7de3ad644cba4405bb04f2729
diff --git a/libmemunreachable/tests/ThreadCapture_test.cpp b/libmemunreachable/tests/ThreadCapture_test.cpp index 41ed84e..44aabd7 100644 --- a/libmemunreachable/tests/ThreadCapture_test.cpp +++ b/libmemunreachable/tests/ThreadCapture_test.cpp
@@ -55,7 +55,7 @@ threads_.reserve(threads); tids_.reserve(threads); for (unsigned int i = 0; i < threads; i++) { - threads_.emplace_back([&, i, threads, this]() { + threads_.emplace_back([&, threads, this]() { { std::lock_guard<std::mutex> lk(m_); tids_.push_back(gettid());