to silence the warning from clang. it fails to figure out that this is
actually used, and complains that this is captured but not used.
Signed-off-by: Kefu Chai <kchai@redhat.com>
[this, &t] (auto &&offsets, auto &refcnt) {
return crimson::do_for_each(offsets.begin(), offsets.end(),
[this, &t, &refcnt] (auto &laddr) {
- return dec_ref(t, laddr).safe_then([&refcnt] (auto ref) {
+ return this->dec_ref(t, laddr).safe_then([&refcnt] (auto ref) {
refcnt.push_back(ref);
return ref_ertr::now();
});
}
ceph_assert(0 == "Should be impossible");
}
- return pin_to_extent<T>(t, std::move(pins.front()));
+ return this->pin_to_extent<T>(t, std::move(pins.front()));
});
}