]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/common: do not capture unused variable
authorKefu Chai <kchai@redhat.com>
Wed, 28 Apr 2021 08:21:51 +0000 (16:21 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 28 Apr 2021 12:54:22 +0000 (20:54 +0800)
commita56f89ddc10aca04682a3792a9435d14017fd782
tree6d13e33618d8dd78d89969967b14be2b502ec170
parent7288dd20d1a395a20fa529fdb3a57943cc4b7d47
crimson/common: do not capture unused variable

this change silences the warning from clang, like:

 ../src/crimson/common/interruptible_future.h:276:8: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
       [this, func=std::move(func),
        ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/common/interruptible_future.h