diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-08-05 10:40:30 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-08-07 14:43:19 +0200 |
commit | bf76d5ce633273017ee411eae83f2c76b84ab0e9 (patch) | |
tree | e8c243b9a7c335ecf3911d81f4d18b0a86be9523 /src/buildtool/execution_api/remote/bazel/bazel_response.cpp | |
parent | 3632d10530c6ec4f5241191e1912836c06136215 (diff) | |
download | justbuild-bf76d5ce633273017ee411eae83f2c76b84ab0e9.tar.gz |
Extend BazelNetworkReader to avoid redundant conversions
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 914836fe..f56f9992 100644 --- a/src/buildtool/execution_api/remote/bazel/bazel_response.cpp +++ b/src/buildtool/execution_api/remote/bazel/bazel_response.cpp @@ -41,7 +41,7 @@ auto ProcessDirectoryMessage(HashFunction hash_function, auto BazelResponse::ReadStringBlob(bazel_re::Digest const& id) noexcept -> std::string { auto reader = network_->CreateReader(); - if (auto blob = reader.ReadSingleBlob(ArtifactDigest{id})) { + if (auto blob = reader.ReadSingleBlob(id)) { return *blob->data; } Logger::Log(LogLevel::Warning, |