summaryrefslogtreecommitdiff
path: root/src/other_tools/root_maps/commit_git_map.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-09-30 12:16:43 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-07 13:37:39 +0200
commitce23db59c6399199fa55b4b7dc8880522e2f1bca (patch)
tree5b77d3c84289f023cbe6f4a81cf391a0087fe660 /src/other_tools/root_maps/commit_git_map.hpp
parente5d7cb5ce5b9cc40b0c56b18980a4234118c1739 (diff)
downloadjustbuild-ce23db59c6399199fa55b4b7dc8880522e2f1bca.tar.gz
Enable readability-redundant-member-init check.
Diffstat (limited to 'src/other_tools/root_maps/commit_git_map.hpp')
-rw-r--r--src/other_tools/root_maps/commit_git_map.hpp14
1 files changed, 7 insertions, 7 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