From 3078ed932e29c7fa578c95d1198bd1f75096b068 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 25 Feb 2025 13:50:18 +0100 Subject: ArtifactBlob: Remove public constructor. --- src/buildtool/common/artifact_blob.hpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/buildtool/common/artifact_blob.hpp') diff --git a/src/buildtool/common/artifact_blob.hpp b/src/buildtool/common/artifact_blob.hpp index 42a7778c..800b78c1 100644 --- a/src/buildtool/common/artifact_blob.hpp +++ b/src/buildtool/common/artifact_blob.hpp @@ -29,13 +29,6 @@ class ArtifactBlob final { public: - explicit ArtifactBlob(ArtifactDigest digest, - std::string content, - bool is_exec) noexcept - : digest_{std::move(digest)}, - content_{std::make_shared(std::move(content))}, - is_executable_{is_exec} {} - /// \brief Create ArtifactBlob and keep the given content in memory. The /// content is hashed based on the given hash function and ObjectType. /// \param hash_function Hash function that must be used for hashing. -- cgit v1.2.3