]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
{common,osd,mds,rbd}: Remove unused captures
authorAdam C. Emerson <aemerson@redhat.com>
Sat, 23 Dec 2017 00:36:09 +0000 (19:36 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Mon, 8 Jan 2018 20:30:05 +0000 (15:30 -0500)
commit79b19aacf0d7edae91765bda58b742747ab57ed4
treef022a3231d800f59841de3f1bed08b354fa9c93f
parent6580d0a6d9dae46fdecfc9bf16f1a5ea36ba970a
{common,osd,mds,rbd}: Remove unused captures

If we aren't referencing a variable, don't capture it. (This makes the
lambdas smaller, too, modulo Sufficiently Smart Compiler.)

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/common/Throttle.h
src/mds/MDBalancer.cc
src/mds/MDCache.cc
src/mds/MDSRank.cc
src/mon/MgrStatMonitor.cc
src/mon/MonmapMonitor.cc
src/osd/PrimaryLogPG.cc
src/test/librbd/io/test_mock_ObjectRequest.cc
src/test/librbd/test_librbd.cc
src/test/rbd_mirror/test_mock_ImageSync.cc