From ce23db59c6399199fa55b4b7dc8880522e2f1bca Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 30 Sep 2024 12:16:43 +0200 Subject: Enable readability-redundant-member-init check. --- src/buildtool/common/repository_config.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/buildtool/common/repository_config.hpp') diff --git a/src/buildtool/common/repository_config.hpp b/src/buildtool/common/repository_config.hpp index a9d01e34..25d5ce4f 100644 --- a/src/buildtool/common/repository_config.hpp +++ b/src/buildtool/common/repository_config.hpp @@ -40,7 +40,7 @@ class RepositoryConfig { FileRoot target_root{workspace_root}; FileRoot rule_root{target_root}; FileRoot expression_root{rule_root}; - std::map name_mapping{}; + std::map name_mapping; std::string target_file_name{"TARGETS"}; std::string rule_file_name{"RULES"}; std::string expression_file_name{"EXPRESSIONS"}; @@ -158,14 +158,14 @@ class RepositoryConfig { // Info structure (roots, file names, bindings) RepositoryInfo info{}; // Base description if content-fixed - std::optional base_desc{}; + std::optional base_desc; // Cache key if content-fixed - AtomicValue> key{}; + AtomicValue> key; }; std::unordered_map repos_; GitCASPtr git_cas_; - AtomicValue duplicates_{}; + AtomicValue duplicates_; template [[nodiscard]] auto Get(std::string const& repo, -- cgit v1.2.3