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/other_tools/root_maps | |
parent | e5d7cb5ce5b9cc40b0c56b18980a4234118c1739 (diff) | |
download | justbuild-ce23db59c6399199fa55b4b7dc8880522e2f1bca.tar.gz |
Enable readability-redundant-member-init check.
Diffstat (limited to 'src/other_tools/root_maps')
-rw-r--r-- | src/other_tools/root_maps/commit_git_map.hpp | 14 | ||||
-rw-r--r-- | src/other_tools/root_maps/fpath_git_map.hpp | 2 | ||||
-rw-r--r-- | src/other_tools/root_maps/tree_id_git_map.hpp | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/other_tools/root_maps/commit_git_map.hpp b/src/other_tools/root_maps/commit_git_map.hpp index 1916ce13..1c5e9f6b 100644 --- a/src/other_tools/root_maps/commit_git_map.hpp +++ b/src/other_tools/root_maps/commit_git_map.hpp @@ -35,14 +35,14 @@ struct GitRepoInfo { // hash can be a commit or tree - std::string hash{}; /* key */ - std::string repo_url{}; - std::string branch{}; - std::string subdir{}; /* key */ - std::vector<std::string> inherit_env{}; - std::vector<std::string> mirrors{}; + std::string hash; /* key */ + std::string repo_url; + std::string branch; + std::string subdir; /* key */ + std::vector<std::string> inherit_env; + std::vector<std::string> mirrors; // name of repository for which work is done; used in progress reporting - std::string origin{}; + std::string origin; // create root that ignores symlinks bool ignore_special{}; /* key */ // create an absent root diff --git a/src/other_tools/root_maps/fpath_git_map.hpp b/src/other_tools/root_maps/fpath_git_map.hpp index d116496f..bfdfc384 100644 --- a/src/other_tools/root_maps/fpath_git_map.hpp +++ b/src/other_tools/root_maps/fpath_git_map.hpp @@ -33,7 +33,7 @@ #include "src/utils/cpp/path_hash.hpp" struct FpathInfo { - std::filesystem::path fpath{}; /* key */ + std::filesystem::path fpath; /* key */ // create root based on "special" pragma value std::optional<PragmaSpecial> pragma_special{std::nullopt}; /* key */ // create an absent root diff --git a/src/other_tools/root_maps/tree_id_git_map.hpp b/src/other_tools/root_maps/tree_id_git_map.hpp index 4276d143..faec4379 100644 --- a/src/other_tools/root_maps/tree_id_git_map.hpp +++ b/src/other_tools/root_maps/tree_id_git_map.hpp @@ -32,7 +32,7 @@ #include "src/utils/cpp/hash_combine.hpp" struct TreeIdInfo { - GitTreeInfo tree_info{}; /* key */ + GitTreeInfo tree_info; /* key */ // create root that ignores symlinks bool ignore_special{}; /* key */ // create an absent root |