mirror of https://github.com/grpc/grpc.git
[promise-endpoint] portability fix (#35435)
Fix error:
```
In file included from /[var/local/git/grpc/src/core/lib/transport/promise_endpoint.cc:17](https://cs.corp.google.com/piper///depot/google3/var/local/git/grpc/src/core/lib/transport/promise_endpoint.cc?l=17):
/[var/local/git/grpc/src/core/lib/transport/promise_endpoint.h:160](https://cs.corp.google.com/piper///depot/google3/var/local/git/grpc/src/core/lib/transport/promise_endpoint.h?l=160):22: error: call to deleted constructor of 'grpc_core::SliceBuffer'
return ret;
^~~
/[var/local/git/grpc/src/core/lib/slice/slice_buffer.h:53](https://cs.corp.google.com/piper///depot/google3/var/local/git/grpc/src/core/lib/slice/slice_buffer.h?l=53):3: note: 'SliceBuffer' has been explicitly marked deleted here
SliceBuffer(const SliceBuffer& other) = delete;
^
/[var/local/git/grpc/src/core/lib/promise/poll.h:86](https://cs.corp.google.com/piper///depot/google3/var/local/git/grpc/src/core/lib/promise/poll.h?l=86):10: note: passing argument to parameter 'value' here
Poll(U value) : ready_(true) {
^
```
seen here:
https://fusion2.corp.google.com/ci/kokoro/prod:grpc%2Fcore%2Fmaster%2Flinux%2Fgrpc_portability/activity/664ec53e-5509-4172-a6d1-182a3b4f5ad1/log
Closes #35435
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35435 from ctiller:pbe2 14de33646b
PiperOrigin-RevId: 595579651
pull/35453/head
parent
e535be8713
commit
808886375d
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue