From: Adam C. Emerson Date: Tue, 6 Apr 2021 19:18:34 +0000 (-0400) Subject: test/librados: Remove unused capture X-Git-Tag: v17.1.0~2328^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1e6225cadba18e85bf73b9614ebb64606b657ed8;p=ceph.git test/librados: Remove unused capture Signed-off-by: Adam C. Emerson --- diff --git a/src/test/librados/service.cc b/src/test/librados/service.cc index bc8e26efaf4d..06e6723346f2 100644 --- a/src/test/librados/service.cc +++ b/src/test/librados/service.cc @@ -115,7 +115,7 @@ TEST(LibRadosService, StatusFormat) { { std::unique_lock l(lock); - cond.wait(l, [nthreads, &threads_started] { + cond.wait(l, [&threads_started] { return nthreads == threads_started; }); }