summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_api/remote/bazel/bazel_response.cpp')
-rw-r--r--src/buildtool/execution_api/remote/bazel/bazel_response.cpp2
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 ad418000..81f8310d 100644
--- a/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
+++ b/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
@@ -238,7 +238,7 @@ auto BazelResponse::Populate() noexcept -> std::optional<std::string> {
// collect root digests from trees and store them
auto reader = network_->CreateReader();
int pos = 0;
- for (auto tree_blobs : reader.ReadIncrementally(tree_digests)) {
+ for (auto tree_blobs : reader.ReadIncrementally(&tree_digests)) {
for (auto const& tree_blob : tree_blobs) {
try {
auto tree = BazelMsgFactory::MessageFromString<bazel_re::Tree>(