diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-06-03 13:08:55 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-06-04 13:47:11 +0200 |
commit | f556af6129667569ff7d0ef1d5c3e12959233822 (patch) | |
tree | c32142efd1af8359348df61b176e930cc57c8eca /src/buildtool/execution_api/remote/bazel/bazel_response.cpp | |
parent | 94cfdd9fd62c8e21ef4d0881d2a248154afc1a00 (diff) | |
download | justbuild-f556af6129667569ff7d0ef1d5c3e12959233822.tar.gz |
bazel_network: Change UploadBlobs to also accept an rvalue
This unifies the signature of all uploader functions consuming a
BlobContainer type.
Diffstat (limited to 'src/buildtool/execution_api/remote/bazel/bazel_response.cpp')
-rw-r--r-- | src/buildtool/execution_api/remote/bazel/bazel_response.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_response.cpp b/src/buildtool/execution_api/remote/bazel/bazel_response.cpp index 39196bf9..aea90ba8 100644 --- a/src/buildtool/execution_api/remote/bazel/bazel_response.cpp +++ b/src/buildtool/execution_api/remote/bazel/bazel_response.cpp @@ -229,7 +229,7 @@ auto BazelResponse::UploadTreeMessageDirectories( dir_blobs.Emplace(std::move(*subdir_blob)); } - if (not network_->UploadBlobs(dir_blobs)) { + if (not network_->UploadBlobs(std::move(dir_blobs))) { Logger::Log(LogLevel::Error, "uploading Tree's Directory messages failed"); return std::nullopt; |