Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
future: do not use "cold" attribute for lambda
to workaround GCC-9 bug: ../../include/seastar/core/future.hh: In member function ‘void seastar::promise<T>::abandoned()’: ../../include/seastar/core/future.hh:1350:38: error: expected identifier before ‘{’ token 1350 | [&] () __attribute__((cold)) { | ^ ../../include/seastar/core/future.hh:1350:38: error: type-specifier invalid in lambda see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 Signed-off-by: Kefu Chai <[email protected]>
- Loading branch information