summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/execution_service/execution_server.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-08-07 15:44:23 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-08-07 15:44:23 +0200
commit24ff00ff5049c79fbc79ffded9b8e9da15186d2c (patch)
treeeb07cba226b9f8c9758d1ad366985e77a23ad8d4 /src/buildtool/execution_api/execution_service/execution_server.hpp
parent61242ccdb8dcc0f4541172af903a493c2f3a9568 (diff)
downloadjustbuild-24ff00ff5049c79fbc79ffded9b8e9da15186d2c.tar.gz
Pass a longrunning operation to ExecutionServer::WriteResult by rvalue
Diffstat (limited to 'src/buildtool/execution_api/execution_service/execution_server.hpp')
-rw-r--r--src/buildtool/execution_api/execution_service/execution_server.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/execution_service/execution_server.hpp b/src/buildtool/execution_api/execution_service/execution_server.hpp
index 8d6f394a..e0c4f4fe 100644
--- a/src/buildtool/execution_api/execution_service/execution_server.hpp
+++ b/src/buildtool/execution_api/execution_service/execution_server.hpp
@@ -148,7 +148,7 @@ class ExecutionServiceImpl final : public bazel_re::Execution::Service {
void WriteResponse(
::bazel_re::ExecuteResponse const& execute_response,
::grpc::ServerWriter<::google::longrunning::Operation>* writer,
- ::google::longrunning::Operation* op) noexcept;
+ ::google::longrunning::Operation&& op) noexcept;
};
#endif