diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2025-02-25 13:50:18 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2025-02-27 09:03:30 +0100 |
commit | 3078ed932e29c7fa578c95d1198bd1f75096b068 (patch) | |
tree | 896f8a47cd8a476e05c0f2fb6ce81e0ba2f043fa | |
parent | 92b7c00ab851156ed89f9cbb9d05bb787362a209 (diff) | |
download | justbuild-3078ed932e29c7fa578c95d1198bd1f75096b068.tar.gz |
ArtifactBlob: Remove public constructor.
-rw-r--r-- | src/buildtool/common/artifact_blob.hpp | 7 |
1 files changed, 0 insertions, 7 deletions
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::string const>(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. |