From 5b3ee91c84d37fe2cd7d4ddd9d26370447564161 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Thu, 20 Jun 2024 14:42:52 +0200 Subject: Mark IExecutionApi's methods constant --- src/buildtool/execution_api/common/common_api.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/buildtool/execution_api/common/common_api.hpp') diff --git a/src/buildtool/execution_api/common/common_api.hpp b/src/buildtool/execution_api/common/common_api.hpp index f657fee5..e35be206 100644 --- a/src/buildtool/execution_api/common/common_api.hpp +++ b/src/buildtool/execution_api/common/common_api.hpp @@ -61,7 +61,7 @@ struct MissingArtifactsInfo { /// original given type, or nullopt in case of exceptions. template [[nodiscard]] auto GetMissingArtifactsInfo( - gsl::not_null const& api, + gsl::not_null const& api, typename std::vector::const_iterator const& begin, typename std::vector::const_iterator const& end, typename std::function const& converter) noexcept @@ -85,18 +85,18 @@ template /// \brief Upload missing blobs from a given BlobTree. [[nodiscard]] auto CommonUploadBlobTree( BlobTreePtr const& blob_tree, - gsl::not_null const& api) noexcept -> bool; + gsl::not_null const& api) noexcept -> bool; /// \brief Runs the compatible branch of local/bazel UploadTree API. [[nodiscard]] auto CommonUploadTreeCompatible( - gsl::not_null const& api, + gsl::not_null const& api, DirectoryTreePtr const& build_root, BazelMsgFactory::LinkDigestResolveFunc const& resolve_links) noexcept -> std::optional; /// \brief Runs the native branch of local/bazel UploadTree API. [[nodiscard]] auto CommonUploadTreeNative( - gsl::not_null const& api, + gsl::not_null const& api, DirectoryTreePtr const& build_root) noexcept -> std::optional; -- cgit v1.2.3