mirror of
https://github.com/ceph/ceph
synced 2025-02-22 10:37:15 +00:00
Merge pull request #32604 from ronen-fr/clang_3
crimson: remove some attributes from lambda
This commit is contained in:
commit
f996db6a14
@ -481,7 +481,7 @@ private:
|
||||
return this->then_wrapped(
|
||||
[ valfunc = std::forward<ValueFuncT>(valfunc),
|
||||
errfunc = std::forward<ErrorVisitorT>(errfunc)
|
||||
] (auto&& future) mutable noexcept [[gnu::always_inline]] {
|
||||
] (auto&& future) mutable noexcept {
|
||||
if (__builtin_expect(future.failed(), false)) {
|
||||
return _safe_then_handle_errors<futurator_t>(
|
||||
std::move(future), std::forward<ErrorVisitorT>(errfunc));
|
||||
@ -530,7 +530,7 @@ private:
|
||||
|
||||
return this->then_wrapped(
|
||||
[ func = std::forward<FuncT>(func)
|
||||
] (auto&& future) mutable noexcept [[gnu::always_inline]] {
|
||||
] (auto&& future) mutable noexcept {
|
||||
return futurator_t::apply(std::forward<FuncT>(func)).safe_then(
|
||||
[future = std::forward<decltype(future)>(future)]() mutable {
|
||||
return std::move(future);
|
||||
@ -574,7 +574,7 @@ private:
|
||||
typename return_errorator_t::template futurize<::seastar::future<ValuesT...>>;
|
||||
return this->then_wrapped(
|
||||
[ errfunc = std::forward<ErrorVisitorT>(errfunc)
|
||||
] (auto&& future) mutable noexcept [[gnu::always_inline]] {
|
||||
] (auto&& future) mutable noexcept {
|
||||
if (__builtin_expect(future.failed(), false)) {
|
||||
return _safe_then_handle_errors<futurator_t>(
|
||||
std::move(future), std::forward<ErrorVisitorT>(errfunc));
|
||||
|
Loading…
Reference in New Issue
Block a user