]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson: do not capture unused variable
authorKefu Chai <kchai@redhat.com>
Tue, 3 Mar 2020 03:10:00 +0000 (11:10 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 3 Mar 2020 03:47:11 +0000 (11:47 +0800)
commit6468deebad17e05aaab7896df4be155404047533
tree359a11ff8aceed8b5d1160820b46ac122d5eac48
parenta91c3112a9364a17f846d80ceadedb187ef0510f
crimson: do not capture unused variable

this silences the warning of:
```
../src/crimson/osd/osdmap_gate.cc:48:38: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
  std::for_each(first, last, [epoch, this](auto& blocked_requests) {
                                   ~~^~~~
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osdmap_gate.cc