diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-06-17 14:54:13 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-06-17 15:11:59 +0200 |
commit | 3820b5b848644d467013ef0a95c21d08a304b7d3 (patch) | |
tree | 21d26e0bd5ae546b2cbf5bb0d58f64f3f47d1611 /src/buildtool/execution_api/execution_service | |
parent | a80aeae081512dbe165e4d46a76bb0499b349ba7 (diff) | |
download | justbuild-3820b5b848644d467013ef0a95c21d08a304b7d3.tar.gz |
Use c++20 standard in clang-format
Diffstat (limited to 'src/buildtool/execution_api/execution_service')
-rw-r--r-- | src/buildtool/execution_api/execution_service/bytestream_server.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/buildtool/execution_api/execution_service/bytestream_server.hpp b/src/buildtool/execution_api/execution_service/bytestream_server.hpp index f4c000f0..69a30713 100644 --- a/src/buildtool/execution_api/execution_service/bytestream_server.hpp +++ b/src/buildtool/execution_api/execution_service/bytestream_server.hpp @@ -27,7 +27,7 @@ class BytestreamServiceImpl : public ::google::bytestream::ByteStream::Service { // responses are delivered as the results of a server-side streaming RPC. auto Read(::grpc::ServerContext* context, const ::google::bytestream::ReadRequest* request, - ::grpc::ServerWriter< ::google::bytestream::ReadResponse>* writer) + ::grpc::ServerWriter<::google::bytestream::ReadResponse>* writer) -> ::grpc::Status override; // `Write()` is used to send the contents of a resource as a sequence of // bytes. The bytes are sent in a sequence of request protos of a @@ -51,10 +51,9 @@ class BytestreamServiceImpl : public ::google::bytestream::ByteStream::Service { // check the `WriteResponse` it receives to determine how much data the // service was able to commit and whether the service views the resource as // `complete` or not. - auto Write( - ::grpc::ServerContext* context, - ::grpc::ServerReader< ::google::bytestream::WriteRequest>* reader, - ::google::bytestream::WriteResponse* response) + auto Write(::grpc::ServerContext* context, + ::grpc::ServerReader<::google::bytestream::WriteRequest>* reader, + ::google::bytestream::WriteResponse* response) -> ::grpc::Status override; // `QueryWriteStatus()` is used to find the `committed_size` for a resource // that is being written, which can then be used as the `write_offset` for |