diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-09-30 12:16:43 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-07 13:37:39 +0200 |
commit | ce23db59c6399199fa55b4b7dc8880522e2f1bca (patch) | |
tree | 5b77d3c84289f023cbe6f4a81cf391a0087fe660 /src/buildtool/common/artifact.hpp | |
parent | e5d7cb5ce5b9cc40b0c56b18980a4234118c1739 (diff) | |
download | justbuild-ce23db59c6399199fa55b4b7dc8880522e2f1bca.tar.gz |
Enable readability-redundant-member-init check.
Diffstat (limited to 'src/buildtool/common/artifact.hpp')
-rw-r--r-- | src/buildtool/common/artifact.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/buildtool/common/artifact.hpp b/src/buildtool/common/artifact.hpp index 1ef169d3..07c508c2 100644 --- a/src/buildtool/common/artifact.hpp +++ b/src/buildtool/common/artifact.hpp @@ -37,7 +37,7 @@ class Artifact { public: struct ObjectInfo { - ArtifactDigest digest{}; + ArtifactDigest digest; ObjectType type{}; bool failed{}; @@ -199,10 +199,10 @@ class Artifact { } private: - ArtifactIdentifier id_{}; - std::optional<std::filesystem::path> file_path_{}; - std::string repo_{}; - mutable std::optional<ObjectInfo> object_info_{}; + ArtifactIdentifier id_; + std::optional<std::filesystem::path> file_path_; + std::string repo_; + mutable std::optional<ObjectInfo> object_info_; Artifact(ArtifactIdentifier id, std::filesystem::path const& file_path, |